Closed (fixed)
Project:
Pageroute
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Sep 2009 at 10:53 UTC
Updated:
14 Oct 2009 at 14:40 UTC
Jump to comment: Most recent file
If form_state['node] isn't unset on add and edit page types, then the following page will load the node from form_state['node']. This cause problems specially when the following page uses a different content type.
The following patch corrects this issue.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | pageroute_formstatenode_002.diff | 1.62 KB | sepgil |
| contentprofile_formstatenode_001.diff | 2.09 KB | sepgil |
Comments
Comment #1
sepgil commentedThe patch should of course called "pageroute_formstatenode_001.diff", sorry for that mistake...
Comment #2
fagohm, this line looks like being unnecessary?
+ protected $unsetNode = TRUE;
Comment #3
sepgil commentedyeah, its unnessecary. I improved my patch:
Comment #4
sepgil commentedComment #5
fagoagain quick ;) committed.