Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60247

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

    XMLWordPrintable

Details

    Description

      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

       

      Attachments

        Issue Links

          Activity

            There are no comments yet on this issue.

            People

              Unassigned Unassigned
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: