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

Favoriting a matrix job breaks blueocean favourites

XMLWordPrintable

    • Blue Ocean 1.4 - beta 3

      Symptoms

      Favorites disappear from front page of blueocean after adding a multi-configuration job as a favorite.

      Note: multi-configuration and matrix appear to be used interchangeably as names - but the UI refers to it as multi-configuration.  

      Expected Behaviour

      Stop me from favoriting / make favourites work with multiconfiguration

      Reproduction Steps

      • Create multi-configuration job
      • Favourite multi-configuration job
      • Refresh /blue

      Exceptions

      /adjuncts/6026ec5f/org/jenkins/ui/jsmodules/blueocean-personalization/jenkins-js-extension.js:25954 TypeError: Cannot read property 'toLowerCase' of undefined
          at TimeHarmonizerUtil.getI18nTitle (blueocean.js:2274)
          at LiveStatusIndicator.render (blueocean.js:1563)
          at ReactCompositeComponentWrapper._renderValidatedComponentWithoutOwnerOrContext (blueocean.js:124456)
          at ReactCompositeComponentWrapper._renderValidatedComponent (blueocean.js:124479)
          at ReactCompositeComponentWrapper.performInitialMount (blueocean.js:124021)
          at ReactCompositeComponentWrapper.mountComponent (blueocean.js:123917)
          at Object.mountComponent (blueocean.js:130930)
          at ReactCompositeComponentWrapper.performInitialMount (blueocean.js:124030)
          at ReactCompositeComponentWrapper.mountComponent (blueocean.js:123917)
          at Object.mountComponent (blueocean.js:130930)
          at ReactDOMComponent.mountChildren (blueocean.js:129808)
          at ReactDOMComponent._createInitialChildren (blueocean.js:125384)
          at ReactDOMComponent.mountComponent (blueocean.js:125209)
          at Object.mountComponent (blueocean.js:130930)
          at ReactCompositeComponentWrapper.performInitialMount (blueocean.js:124030)
          at ReactCompositeComponentWrapper.mountComponent (blueocean.js:123917)
          at Object.mountComponent (blueocean.js:130930)
          at ReactCompositeComponentWrapper.performInitialMount (blueocean.js:124030)
          at ReactCompositeComponentWrapper.mountComponent (blueocean.js:123917)
          at Object.mountComponent (blueocean.js:130930)
          at ReactDOMComponent.mountChildren (blueocean.js:129808)
          at ReactDOMComponent._createInitialChildren (blueocean.js:125384)
          
      blueocean.js:149548 Unhandled Rejection:  TypeError: Expected Array or iterable object of values: TypeError: Cannot read property 'toLowerCase' of undefined
          at indexedSeqFromValue (/adjuncts/6026ec5f/org/jenkins/ui/jsmodules/immutable/immutable-3-8-1.js:1917)
          at IndexedSeq (/adjuncts/6026ec5f/org/jenkins/ui/jsmodules/immutable/immutable-3-8-1.js:1655)
          at IndexedIterable (/adjuncts/6026ec5f/org/jenkins/ui/jsmodules/immutable/immutable-3-8-1.js:1386)
          at new List (/adjuncts/6026ec5f/org/jenkins/ui/jsmodules/immutable/immutable-3-8-1.js:3410)
          at Object.SET_FAVORITES (/adjuncts/6026ec5f/org/jenkins/ui/jsmodules/blueocean-personalization/jenkins-js-extension.js:26019)
          at reducer (/adjuncts/6026ec5f/org/jenkins/ui/jsmodules/blueocean-personalization/jenkins-js-extension.js:26112)
          at combination (blueocean.js:138209)
          at dispatch (blueocean.js:138438)
          at blueocean.js:137956
          at dispatch (blueocean.js:138011)
          at /adjuncts/6026ec5f/org/jenkins/ui/jsmodules/blueocean-personalization/jenkins-js-extension.js:25956
          at <anonymous>

            sophistifunk Josh McDonald
            bwalding Ben Walding
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: