Closed Bug 1166021 Opened 10 years ago Closed 10 years ago

Community Hub React Top Contributors page doesn't load, due to mismatched version of underscore.

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mythmon, Assigned: mythmon)

Details

(Whiteboard: u=contributor p=1 s=2015.9)

In the community hub top contributors page, I'm using a newer version of underscore. I updated it with bower, and although I see the new version of the file on the server, the old version is being loaded in the bundle. I'm not sure what to do to fix that.
Whiteboard: u= c= p= s= → u= p=? s=2015.10
Estimating 2 points to look into this. In the worst case I think we can get rid of the hashing that lets us do forever caching which will make this just override the old files.
Whiteboard: u= p=? s=2015.10 → u=contributor p=2 s=2015.10
Blocks: 1164246
I figured out that this is a problem with django-pipeline not pulling in updates to Bower installed files. To fix this, I think that removing everything not in git from the static directory during builds will work. It makes our builds a bit slower, but it should be fine. I filed a PR for that here: https://github.com/mozilla/kitsune/pull/2541 This wasn't 2 points. But I did work on it this sprint, so I'm reduced this to 1pt and moving it into the sprint.
Assignee: nobody → mcooper
No longer blocks: 1164246
Status: NEW → ASSIGNED
Whiteboard: u=contributor p=2 s=2015.10 → u=contributor p=1 s=2015.9
I deployed that PR, and it seems to have fixed the problem.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.