Hidden parameters cause build failure (OD-2560)
sev opened 4 months ago

Conditional visibilty is supposed to allow unneeded parameters to be hidden from the user, since the value doesn't need to be considered by them, right? But if you use it, and any parameter is hidden, builds will fail with "Invisible param" error.

This affects both manual runs and triggered runs. Even if the triggered run has "Ignore this value" set for the hidden parameter, it still errors out.

Not using conditional visibility allows the build to succeed.

Screenshot_20250922_055515.png

Sample buildspec with error: https://git.sev.monster/sev/alpine-pkg-glibc/~files/9071a941e3c018ba61156924a90f1111d5a8bf34/.onedev-buildspec.yml?position=buildspec-jobs/build-glibc

I feel like this worked once before, but I can't remember. Maybe I never ran this build with this selection of parameters before, not sure.

  • OneDev commented 3 months ago

    State changed as code fixing the issue is committed (0defe8b6)

  • OneDev changed state to 'Closed' 3 months ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 3 months ago

    State changed as build OD-6658 is successful

  • OneDev changed state to 'Released' 3 months ago
    Previous Value Current Value
    Closed
    Released
issue 1/1
Type
Bug
Priority
Normal
Assignee
Affected Versions
13.0.1
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-2560
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover