Path set incorrectly when moving a node, even after publishing all nodes
Hi,
I'm not sure whether this has been reported before... If it has been, great, I'll perform an upgrade to v4Latest, if it hasn't, I'll file a bug on the issue tracker. Just want to make sure I'm not being idiot
I'm on a v4.11.1 clean install
Quite a simple scenario:
Have created a Site, Home, Category and Article doc type and created a couple of docs in the content section
-Site (id=1045) --Home (id=1046) ---Category A (id=1047) ----Category AA (id=1048) -----Category AAA (id=1049) ------Article 1 (id=1051)
now, move Category AA to Home, so Category AA is no longer a child of Category A but a child of Home.
-Site (id=1045) --Home (id=1046) ---Category A (id=1047) ---Category AA (id=1048) ----Category AAA (id=1049) -----Article 1 (id=1051)
Check the path of Category AAA, which should be -1,1045,1046,1048,1049 wheras in the database -1,1045,1046,1047,1048,1049 is found (as if path hasn't changed). Also the same problem for child nodes of Category AAA, so Article 1's path is also affected
Yup I had this last week, thought it was me going mad - the way I fixed it was to copy the home + children back into Site and then delete the old home - not ideal but it fixed it for me and not seen since.
I really don't want to go that route, have far too many docs already sitting in my content structure (Approx 10k), but glad I wasn't being an idiot! I'm now checking the same scenario on a v4.11.3.1 and see if it's still there and file a bug if it hasn't been fixed.
Path set incorrectly when moving a node, even after publishing all nodes
Hi,
I'm not sure whether this has been reported before... If it has been, great, I'll perform an upgrade to v4Latest, if it hasn't, I'll file a bug on the issue tracker. Just want to make sure I'm not being idiot
I'm on a v4.11.1 clean install
Quite a simple scenario:
Have created a Site, Home, Category and Article doc type and created a couple of docs in the content section
-Site (id=1045)
--Home (id=1046)
---Category A (id=1047)
----Category AA (id=1048)
-----Category AAA (id=1049)
------Article 1 (id=1051)
now, move Category AA to Home, so Category AA is no longer a child of Category A but a child of Home.
-Site (id=1045)
--Home (id=1046)
---Category A (id=1047)
---Category AA (id=1048)
----Category AAA (id=1049)
-----Article 1 (id=1051)
Check the path of Category AAA, which should be -1,1045,1046,1048,1049 wheras in the database -1,1045,1046,1047,1048,1049 is found (as if path hasn't changed). Also the same problem for child nodes of Category AAA, so Article 1's path is also affected
Cheers,
/Dirk
Yup I had this last week, thought it was me going mad - the way I fixed it was to copy the home + children back into Site and then delete the old home - not ideal but it fixed it for me and not seen since.
Si
Simon,
I really don't want to go that route, have far too many docs already sitting in my content structure (Approx 10k), but glad I wasn't being an idiot! I'm now checking the same scenario on a v4.11.3.1 and see if it's still there and file a bug if it hasn't been fixed.
Anyway, thanks for confirming.
Cheers,
/Dirk
The "level" isn't updated either in the database.
Ok, Digged into the code and found the offending code which was introduced to solve another issue... Have reported my findings on the issue tracker.
/Dirk
is working on a reply...