Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-9230

The deletion of a content in a hierarchical reference table should be allowed if the referencing contents are within its hierarchy

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • None
    • None
    • None
    • 4.2 M9

      When we want to delete a content in a hierarchical reference table, if the content or one of its children is referenced that is going to be deleted is referenced by one of those contents it should be deleted.

      For example, we have this hierarchy :
      A
       -  B
       -  C
       -  -   D
      With this references : 
      (A->B)
      (B->D)

      We should be able to delete from A or B but not from C or D because D is referenced by B wich is not in the C hierarchy.

          [CMS-9230] The deletion of a content in a hierarchical reference table should be allowed if the referencing contents are within its hierarchy

          If we merge, there are too much risks of regression because of the structure differences between 4.1 and 4.2.

          Bérénice Maurel added a comment - If we merge, there are too much risks of regression because of the structure differences between 4.1 and 4.2.

          The pull request was merged on master but can not be merged in 4.1.x branch.

          Please do the needed PR for 4.1.x branch

          Laurence Aumeunier added a comment - The pull request was merged on master but can not be merged in 4.1.x branch. Please do the needed PR for 4.1.x branch

            bmaurel Bérénice Maurel
            franckp Franck Picardat (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: