Closed (fixed)
Project:
Panopoly
Version:
7.x-1.x-dev
Component:
Admin
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 Feb 2014 at 22:07 UTC
Updated:
26 Apr 2014 at 17:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
barrapontoComment #2
lsolesen commentedThis should probably be done together with #2181079: Update to Navbar 1.8. This should not be fixed for it self.
Comment #3
barrapontoIf it doesn't hurt (breaks stuff, etc) I think it is easier to upgrade in manageable bytes.
Comment #4
wu-lee commentedYes. Until it is fixed it one way or the other, it's going to trip up users like me who run a security upgrade and then find their site is broken. Thus my vote would be for fixing it sooner rather than later.
To elaborate: my recent upgrade of my panopoly install was quite problematic, this was just the last of various failures to work around. Tracking this one down here took me quite some time of trying one thing and another, since it wasn't clear that it was a panopoly problem. It looks like a navbar problem, and my attempts to upgrade underscore just made matters worse (installed the drupal underscore module, updated underscore.js, found it still didn't work - uninstalling the underscore module was necessary). I only thought of looking here when I grepped the source code for underscore and saw it in profiles/panopoly/libraries/underscore/.
For the benefit of other users googling for issues related to a broken admin menu, as evidenced by "_ is not defined" errors in the browser's javascript console, this is why. You *can* fix it by installing a new version of underscore.js in sites/all/libraries/underscore.js, and in fact I did it like this:
but that's not really the right way, since you end up with two copies of underscore. Presumably it is better to update the contents of profiles/panopoly/libraries/underscore/ manually.
Comment #5
barraponto@wu-lee updating a single module from a distribution is tricky. You're better off updating all off the distribution bundle when it's released.
Comment #7
dsnopekThanks @barraponto! I've confirmed that the old Navbar continues to work with the newer version of Underscore and committed.