Closed
Bug 1087349
Opened 10 years ago
Closed 9 years ago
Platform row is duplicated after every refresh for rows where the platform name is guessed
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: camd)
References
Details
(Keywords: regression)
Attachments
(4 files)
For this result set: https://treeherder.mozilla.org/ui/#/jobs?repo=date&revision=0c480befd4ea When you first open the page, there are no duplicate platform rows (for the job results). However each time the UI refreshes, rows where the platform name was guessed (a la bug 1087341) are duplicated. See screenshots.
Reporter | ||
Comment 1•10 years ago
|
||
Reporter | ||
Comment 2•10 years ago
|
||
Reporter | ||
Updated•10 years ago
|
No longer blocks: treeherder-dev-transition
Keywords: regression
Reporter | ||
Comment 4•10 years ago
|
||
We hit this again with bug 1078265 / bug 1073772.
Priority: P2 → P1
Reporter | ||
Updated•9 years ago
|
Priority: P1 → P2
Comment 5•9 years ago
|
||
Ryan hit this again today with l10n repacks.
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → cdawson
Assignee | ||
Comment 6•9 years ago
|
||
In these cases, there was a space in the aggregate platformId that was generated. Then when we went to find that with JQuery, we couldn't (spaces are invalid). So we added the new one. this fix is just to ensure there are no spaces in the aggregate platform id.
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•9 years ago
|
||
Attachment #8588793 -
Flags: review?(wlachance)
Comment 8•9 years ago
|
||
Comment on attachment 8588793 [details] [review] ui PR Looks reasonable, thanks for iterating on this with me!
Attachment #8588793 -
Flags: review?(wlachance) → review+
Comment 9•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-ui https://github.com/mozilla/treeherder-ui/commit/a1c1c9aded0d1f1745ebf76b904446d31f34d3c4 Bug 1087349 - fix platform duplication on guessed platform names Ensure HTML aggregate ids have no spaces.
Assignee | ||
Updated•9 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•9 years ago
|
||
Ryan saw this on stage again this morning with a platform that had a "." in it.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 11•9 years ago
|
||
Attachment #8592543 -
Flags: review?(wlachance)
Assignee | ||
Comment 12•9 years ago
|
||
Apparently just escaping certain characters with a ``\`` doesn't work with DOM ids. I tested this out with several characters. So now I just replace them with a ``-`` character and it works great.
Updated•9 years ago
|
Attachment #8592543 -
Flags: review?(wlachance) → review+
Comment 13•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder-ui https://github.com/mozilla/treeherder-ui/commit/60d1a92e06ac8008f7a1e47c5ca266ab4c55fbb0 Bug 1087349 - replace characters instead of escaping them Ends up escaping characters in DOM ids didn’t work well. This now replaces them with hyphens, which DOES work well.
Assignee | ||
Updated•9 years ago
|
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
Comment 14•9 years ago
|
||
Commits pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/8a5db6d00b4395387b54a8670e59935746d6254e Bug 1087349 - fix platform duplication on guessed platform names Ensure HTML aggregate ids have no spaces. https://github.com/mozilla/treeherder/commit/e7ff0b0b9d341c6bce3f9c74ffa1680c9d380b8a Bug 1087349 - replace characters instead of escaping them Ends up escaping characters in DOM ids didn’t work well. This now replaces them with hyphens, which DOES work well.
You need to log in
before you can comment on or make changes to this bug.
Description
•