Closed (fixed)
Project:
Menu Node API
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2009 at 12:27 UTC
Updated:
28 Sep 2009 at 14:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardUgh. That is probably a form action that we do not account for.
Does the revision reversion process not fire hook_nodeapi()?
Comment #2
agentrickardI bet the node_save() in node_revision_submit_confirm() doesn't pass the menu data like the regular node edit form does. Looks like we have to change our save routine.
One question, though, are menu assignments stores as revisions? Is it possible that the previous revision was not in a menu?
Comment #3
agentrickardOh, this would actually be a Menu Node API bug.
Comment #4
agentrickardHere's a patch to try. This is crying out for SimpleTests.
The patch works by doing nothing if the $mlid is not present.
Comment #5
agentrickardCommitted to HEAD and released as 6.x.1.3.