Uploaded image for project: 'Contents Tree'
  1. Contents Tree
  2. CTREE-10

When moving a node, the node keeps a reference to his old parent

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.0.0
    • None
    • None

        [CTREE-10] When moving a node, the node keeps a reference to his old parent

        I have the following tree :

        "Unités d'enseignement Master IC" was moved under "Semestre 1 Master IC", then under "Parcours 1 Master IC", then back to the original parent "Master Information Communication"

        The value of "parentProgramPart" for this content is equal to id of "Master Information Communication", "Semestre 1 Master IC" and "Parcours 1 Master IC"

        a REMOVE then a INSERT has to be done when moving a node ? Use REPLACE mode will be wrong because the content could be referenced as a child somewhere else

         

        Laurence Aumeunier added a comment - I have the following tree : "Unités d'enseignement Master IC" was moved under "Semestre 1 Master IC", then under "Parcours 1 Master IC", then back to the original parent "Master Information Communication" The value of "parentProgramPart" for this content is equal to id of "Master Information Communication", "Semestre 1 Master IC" and "Parcours 1 Master IC" a REMOVE then a INSERT has to be done when moving a node ? Use REPLACE mode will be wrong because the content could be referenced as a child somewhere else  

          laurence Laurence Aumeunier
          laurence Laurence Aumeunier
          Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

            Created:
            Updated:
            Resolved: