Closed (fixed)
Project:
Navbar
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 May 2013 at 08:27 UTC
Updated:
6 Jan 2015 at 14:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chi commentedWhere did you place the blackbone js file? I found inconsistency in navbar_requirements().
Comment #2
hass commentedThanks for sharing your patch. Requires a new release asap.
Comment #3
philipz commentedMy backbone js file is in libraries/backbone/backbone-min.js.
I applied this patch, cleared caches and uninstalled/re enabled the navbar module but problem still exists.
Looks like backbone js is not included at all.
Comment #4
philipz commentednavbar_convert_libraries_to_libraryfunction detects that backbone library was not loaded and returns empty array for backbone.This might be
library_loadnot the navbar/backbone problem.Comment #5
philipz commentedWell I don't know what happened but now it works fine. I was trying to debug this using dpm and clearing caches multiple times - maybe those extra clear caches did it.
Comment #6
saltednutComment #7
hass commentedThere is no commit. Why are you changing the status?
Comment #8
saltednutSorry, I changed it to fixed based on.
I didn't think the patch was necessary.
Comment #9
saltednutComment #10
hass commentedThe patch fixes an inconsistency bug in the code for sure.
Comment #11
azarzag commentedI had the same problem, but it went away by installing the underscore.js library
Comment #12
justkristin commentedPatch in #1 worked for me.
Comment #13
mathieso commentedCode is:
Should it be:
Kieran
Comment #14
saltednut@mathieso can you provide a little more info for the patch writer along with your code review?
Comment #15
designerbrent commentedPatch #1 worked fine for me, however it the patch in #13 might be a good idea to ensure compatibility with people using the un-minified version. I've attached a patch that includes this.
Comment #16
designerbrent commentedUpdating the status.
Comment #17
hass commentedThis patch introduces inconsistencies again. Patch from #1 makes it consistent and is RTBC, the last patch CNW.
Comment #18
recidive commentedPatch in #1 worked for me too.
The module includes the *-min.js files while the status reports page looks the *.js files.
While this is not critical since it doesn't actually breaks anything if you have the correct *-min.js files in the libraries directory, it may be misleading for developers trying to debug navbar, so I'm keeping this as critical for now.
Comment #19
hass commentedI have only added the files the status page complained about and this has not worked as I have not added the min.js file to the folder.
Comment #20
recidive commented@hass, yes the module includes the min.js whilst the status page looks for the .js.
That patch is for bringing consistency, since it looks like only the min.js file matters to the module.
Comment #21
hass commentedI know what this patch does.
Comment #22
recidive commentedAlright, dungeon master.
Comment #23
amirtaiar commentedI have tried #1 patch and it's helping.
I have also download the underscore library and the report log is all green yet the menu isn't working.
Comment #24
jessebeach commentedThanks all. Committed to 7.x-1.x in ecefe8c288d999269e993c0a1cc537411a98bd43.
Comment #26
andregriffin commentedI just installed the most recent dev version of navbar, and my status report indicated that backbone was not present, even though it was located at sites/all/libraries/backbone/backbone-min.js -- And it was not loaded by the module. After renaming the file to "backbone.js" (even though it was minified/production), everything worked as expected. Perhaps there's been a regression here?
Comment #27
eshta commented@andregriffin: I'm not able to reproduce with the most recent version based on the steps you indicate. Did you have any resolution to your issue and do you have more information?
Note: I'm changing the priority as the critical fix was already committed.
Comment #28
hass commentedThis can only be wrong file names.