Introduce a default fallback view in ViewGroupMixIn#getPrimaryView() when no views defined

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Follow-up to https://github.com/jenkinsci/jenkins/pull/4348 and JENKINS-60092. As proposed by jglick in https://github.com/jenkinsci/jenkins/pull/4348#issuecomment-554381425 , it would be great to return a default view in ViewGroupMixIn#getPrimaryView() so that the API users do not have to worry about edge cases when views are not defined.

      IIRC I tried it also and hit some other obstacles, but I do not remember which ones. So there *might* be some obstacles like view persistence

       

            Assignee:
            Unassigned
            Reporter:
            Oleg Nenashev
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: