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

DISCOVER-able items break the queue widget

    XMLWordPrintable

Details

    Description

      When the build queue widget renders for an anonymous user, and default view includes some DISCOVER-able jobs, rendering fails with WARNING: Caught exception evaluating: it.queueItems. Reason: java.lang.reflect.InvocationTargetException

      evaluating queueItems, ListView.getItems() iterates on job names and calls getItem(name). This one check for DISCOVER and throws an AccessDeniedException that isn't caught, resulting in some null value passed to jelly.

      Attachments

        Activity

          ndeloof Nicolas De Loof created issue -
          scm_issue_link SCM/JIRA link daemon made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jglick Jesse Glick made changes -
          Labels lts-candidate
          vjuranek vjuranek made changes -
          Labels lts-candidate 1.509.1-fixed
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 147506 ] JNJira + In-Review [ 192450 ]

          People

            ndeloof Nicolas De Loof
            ndeloof Nicolas De Loof
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: