Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
b16
-
-
pannonian
Description
An error happened when loading the dashboard, due to favourites.
Favourites will not load up for some users (in this case, Tyler).
This seems to be new since upgrading from b15 to b16. As of b15 it was working correctly.
Looking through https://github.com/jenkinsci/blueocean-plugin/commits/master
The only commit to touch on personalisation is https://github.com/jenkinsci/blueocean-plugin/commit/471cded94015f64512834a4746eca053c4db94a2 - so this may be a place to look (may also be a data problem).
The stack trace:
https://gist.github.com/rtyler/6ed57a6617538ac3305c0d36e269a2ad#file-favorites-json
The data returned in favourites:
https://gist.github.com/rtyler/6ed57a6617538ac3305c0d36e269a2ad#file-favorites-json
The contents of https://ci.jenkins.io/blue/rest/users/rtyler/favorites/ can be found here
Steps to Reproduce
- Create a Pipeline (not a multibranch Pipeline). It doesn't have to contain anything, just create the item.
- Favorite the item
- Reload the Blue Ocean dashboard
I am not sure 201604291_tyler but from the stacktrace it seems that
it fails when setting the favorites which hints on problems from the backend.
However I cannot reproduce it and I would need you to do a "go to" the lines that are failing so I can see where exactly in the code this is happening.