Closed Bug 1059315 Opened 10 years ago Closed 10 years ago

Switching between repos sometimes breaks resulting in the UI being half one repo & half another

Categories

(Tree Management :: Treeherder, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: camd)

References

Details

1) Open https://treeherder.mozilla.org/
2) Open repos menu
3) Click "mozilla-inbound" (the text, not the checkbox)
4) Open repos menu
5) Click "mozilla-central" (the text, not the checkbox)
4) Open repos menu
5) Click "mozilla-inbound" (the text, not the checkbox)

Expected:
All of the following say "mozilla-inbound":
* Page title
* Caption on the current repo's tab/button
* Page URL
* Link targets for SHAs for the commits visible in the main page

Actual:
The following say "mozilla-central" rather than "mozilla-inbound":
* Caption on the current repo's tab/button
* Link targets for SHAs for the commits visible in the main page
Blocks: 1032220
Assignee: nobody → cdawson
Status: NEW → ASSIGNED
I'm able to reproduce this.  Tracking it down now...
Priority: P2 → P1
Fixed in:
https://github.com/mozilla/treeherder-ui/commit/b413f839545ac12368187fba680dd9c447973429
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Commits pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/1cf0d10495f4b413b4b0d600346516c520ee62b2
bug 1059315 - reload on repo change in url.

Page reload whenever repo changes to cleanly switch.
Also update filters without a reload when changed on URL

https://github.com/mozilla/treeherder/commit/f74c837de783d4b654a18b72d5ceba0b0f3809b3
Merge pull request #157 from mozilla/bug-1059315-switching-repos

bug 1059315 - reload on repo change in url.
See Also: → 1408524
You need to log in before you can comment on or make changes to this bug.