Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
-
Blue Ocean 1.4 - beta 1
Description
(window.location.href.split('?')[1] || '').split('&')
window.location in unit testing is normally undefined and can be until href.
our unit tests are failing now with
/home/thorsten/opt/src/cloudbees/operations-center-all/bluesteel/bluesteel-cjoc/node_modules/@jenkins-cd/blueocean-core-js/dist/js/config.js:19 (window.location.href.split('?')[1] || '').split('&').forEach(function (p) { ^ TypeError: Cannot read property 'href' of undefined at Object.<anonymous> (/source/js/config.js:13:2)
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Thorsten Scherler [ tscherler ] |
Epic Link | JENKINS-35749 [ 171790 ] |
Sprint | Blue Ocean 1.4 - beta 1 [ 401 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Labels | cloudbees-internal-steel | cloudbees-internal-steel testing-notes-not-applicable |
Status | Resolved [ 5 ] | Closed [ 6 ] |