Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 16, 2013 @ 13:40
    Dirk De Grave
    0

    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

     

     

  • Simon steed 376 posts 688 karma points
    Jan 16, 2013 @ 13:43
    Simon steed
    1

    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

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 16, 2013 @ 13:46
    Dirk De Grave
    0

    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

  • David Verberckmoes 46 posts 77 karma points
    Jan 16, 2013 @ 16:08
    David Verberckmoes
    0

    The "level" isn't updated either in the database.

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jan 16, 2013 @ 16:10
    Dirk De Grave
    0

    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

Please Sign in or register to post replies

Write your reply to:

Draft