Have not been following closely, but offhand: On Fri, Oct 20, 2017 at 4:24 PM, Stephen Connolly <[email protected]> wrote: > Form validation. > > All the descriptors assume they are in a FreeStyleProject... or if you are > luck an AbstractProject... or perhaps if you are really lucky, a Job... > > So form validation blows up when the only ancestor in path is an Item > (technically a ComputedFolder)
IIRC I tried to work around this with https://github.com/jenkinsci/freestyle-multibranch-plugin/commit/4081dcdf05bea9e6f47982e37099d176dcc2be45 > Then there's even more advanced form validation that blows up when there is > no workspace against which to validate builds, etc. There were a bunch of cases like this in various plugins that have gotten fixed. Broadly speaking, any `@AncestorInPath` should also be `@CheckForNull`. -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0aActnQ6fE-6THM4yqQVzH_37jzsGHJKD%3DgBqNKAheWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
