Closed (fixed)
Project:
Content Menu
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Apr 2013 at 00:04 UTC
Updated:
29 Sep 2015 at 07:47 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
simon georges commentedHi,
I just tested, and didn't reproduce it. What PHP version are you using? Do you eventually have any other module that could alter menu-related forms?
Comment #1.0
simon georges commentedadded info
Comment #2
geek-merlinYep strange: a fresh install did not show that error message.
There are many modules here that could change something but no "esoteric" ones.
Debugging shows that line 263 currently is not doing it right anyway:
in my setup we have
Find attached a patch that "does it right" and fixes the warning here while not breaking other setups.
Comment #3
geek-merlina fresh simplytest.me install of that patch shows no problems and expected result ("Delete associated Article a as well.")
Comment #4
simon georges commentedCan someone else confirm that? The patch shouldn't break anything anyway, I'd just like to have a few other situations where the patch is tested (especially with esoteric modules).
Comment #5
klonosI just had the same error happen on me on a live site. Confirming that the patch in #2 fixed the warning.
PS: the usage stats of this module show nearly 1000 installations. Still there's only 4 people following this issue. That's both surprising and disturbing. I guess most people only delete menu items and not their corresponding nodes (which is when this bug occurs).
Comment #6
simon georges commentedCommitted, thanks!
Comment #7
klonosThank you Simon! ;)
Comment #8.0
(not verified) commentedfixed line nuber in dev
Comment #9
a.milkovskyWorks, thank you. Do you plan a new release?
Comment #10
simon georges commentedIt's been some time since I took care of this module, so I certainly could, I don't know if there still are some important bugs to fix before that... I'll have to check.