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

Multiple Blue Ocean links are displayed

XMLWordPrintable

    • Blue Ocean 1.2-beta3, Blue Ocean 1.2-beta4, Blue Ocean 1.2, Blue Ocean 1.3, Blue Ocean 1.4 - beta 1, Blue Ocean 1.4 - beta 3, Blue Ocean 1.4 - beta 2

      There are situations where multiple Blue Ocean links can be displayed.

      There is no clear path to reproduce but the cause seems to be the use of getActions which is deprecated and does not return the transient actions + the use of replace action and returning the replacement action at the same time:

      https://github.com/jenkinsci/blueocean-plugin/blob/da4a4d5eb3d88be1c844cf4665d3c6b8859cb48b/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/TryBlueOceanMenu.java#L52-L56

      https://github.com/jenkinsci/blueocean-plugin/blob/da4a4d5eb3d88be1c844cf4665d3c6b8859cb48b/blueocean-rest-impl/src/main/java/io/jenkins/blueocean/service/embedded/TryBlueOceanMenu.java#L63

            imeredith Ivan Meredith
            alobato Alvaro Lobato
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: