Closed (outdated)
Project:
Salesforce Suite
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Jan 2012 at 14:11 UTC
Updated:
14 Apr 2016 at 20:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
lazysoundsystem commentedHere's the patch
Edit: ignore this patch - I've just seen #1214076: "Notice: Undefined offset 4 in _menu_translate" because of the way that the fieldmap paths are defined which solves the problem much more elegantly for D7. I'll adapt that for D6 and post below.
Comment #2
aaronbaumanFrom what I gather from #676010, the proper approach to solving this issue is to implement proper menu path args and respective *_to_arg() functions, and make sure the access callbacks are returning false when no arg is present.
Also, I'm not sure what any of this has to do with the menu title and description.
Those should not be removed.
Comment #3
lazysoundsystem commentedSorry, yes, as mentioned in the edit above, I'll prepare a better solution. Thanks for the quick response!
Comment #4
lazysoundsystem commentedHere's a better patch, applying #1214076: "Notice: Undefined offset 4 in _menu_translate" because of the way that the fieldmap paths are defined to D6 almost unchanged.
Comment #5
kostajh commentedThis looks fine but I don't have time to test it. Has anyone else tested this patch?
Comment #6
kostajh commentedComment #7
victoriachan commentedWe're using this on a client's production website. It's been working fine.
Thanks,
Victoria
Comment #8
aaronbaumanclosing all 6.x issues