Closed
Bug 1179337
Opened 9 years ago
Closed 9 years ago
Logviewer console errors on first-click of a failure-step button edge
Categories
(Tree Management :: Treeherder, defect, P3)
Tree Management
Treeherder
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jfrench, Assigned: jfrench)
References
Details
Attachments
(2 files)
The Logviewer console errors when first clicking on a failure-step button edge. To reproduce: o open any failed job in Logviewer eg. https://treeherder.mozilla.org/logviewer.html#?job_id=11257981&repo=mozilla-inbound o open the console o click on the pale orange perimeter of the failure step Expected: A clean load of the failure step. Observed: (console) Uncaught TypeError: Cannot read property 'top' of undefined Which exists here: https://github.com/mozilla/treeherder/blob/master/ui/js/directives/log_viewer_steps.js#L12 It errors the same on any step type (failure, or success). Subsequent clicks seem to be fine. It doesn't appear to be related to the recent work in bug 1057341 for the new logviewer step color treatment and header work (I rolled back to one commit prior and still reproduced it).
Assignee | ||
Comment 1•9 years ago
|
||
Per screen grab.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → tojonmz
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•9 years ago
|
||
PR for leisurely review :)
Attachment #8648749 -
Flags: review?(cdawson)
Comment 3•9 years ago
|
||
Comment on attachment 8648749 [details] [review] PR 876 lgtm. :)
Attachment #8648749 -
Flags: review?(cdawson) → review+
Comment 4•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/7c15aeb4ced90369029af287d1cf8a4eb60969bd Bug 1179337 - Quiet logviewer error on first-click of a failure-step
Assignee | ||
Comment 5•9 years ago
|
||
Marking fixed per above merge. Will verify on the next stage/prod push.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•9 years ago
|
||
Verified fixed on production. We now automatically select the first failure, so verification was done with manual workflows after load.
Status: RESOLVED → VERIFIED
Updated•2 years ago
|
Component: Treeherder: Log Viewer → TreeHerder
You need to log in
before you can comment on or make changes to this bug.
Description
•