Copied to clipboard

Flag this post as spam?

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

  • Sebastian Dammark 564 posts 1316 karma points
    Jul 20, 2017 @ 09:06
    Sebastian Dammark

    New nodes are created when old are renamed ?

    If AutoNode creates a node called Local Content of the type LocalContent and I rename that one to Modules.

    Next time I publish the parent page AutoNode creates a new node named Local Content of the type LocalContent

    It would be nice if the package only looked at the DocumentType and not the name.

  • Sebastian Dammark 564 posts 1316 karma points
    Oct 13, 2017 @ 05:53
    Sebastian Dammark

    Any news on this ?

  • Sotiris Filippidis 283 posts 1497 karma points
    Jan 26, 2018 @ 18:18
    Sotiris Filippidis

    Better late than never :)

    As of version 1.5, there's an option that you can use both in code and/or the xml configuration file that specifies that comparison is done only on the doctype level and not the node name.

    createIfExistsWithDifferentName (optional): This is true by default - it means that if you rename the automatically created node and republish its parent, a new node will be created. If you need to restrict node creation even more, then you can set this to False and it will not create a new node when a node of the same doctype is found.

Please Sign in or register to post replies

Write your reply to: