Bug #22380
closedMoving a page with IRRE records misplaces IRRE records
0%
Description
Consider the following situation: a field is added to the pages table, which uses IRRE to create relations to some other records.
When a page with such relations is moved somewhere else in the page tree, its pid is changed. The problem is that the page's new pid is also used for the IRRE records, thus misplacing the IRRE records on the page's new parent, instead of staying on the page itself.
(issue imported from #M14005)
Files
Updated by Francois Suter over 14 years ago
Steps to reproduce:
- installed test extension attached to this report
- edit a page and add a couple IRRE relations to it in the field "IRRE test"
- check that the "Bug 14005 relations" records indeed appear on that same page
- move the page to another part of your page tree
- observe that the "Bug 14005 relations" records are now stored on the new parent page and not on the page itself anymore
Apply the patch. The above behavior should not happen anymore.
Updated by Francois Suter over 14 years ago
Attached v3, which build on Dmitry's v2 proposed in the core ML and adds some CGL corrections.
Updated by Francois Suter over 14 years ago
Committed to trunk in revision 7291
Committed to 4.3 in revision 7292
Committed to 4.2 in revision 7294