Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-27763

child objects are not inheriting their parent's section update

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Invalid
    • Affects Version/s: 1.7.4, 1.11.0, 1.10.1
    • Fix Version/s: QA tracked issues
    • Labels:
    • Environment:

      Operating System: Debian 8
      PHP Version: 5.6.30-0+deb8u1
      Database and version: Mysql 5.5.54-0+deb8u1
      Browser (and version): Firefox 54
      Env: Prod

      Description

      I don't know if the following behaviour is an issue or this this by design.

      If I have a parentA with a SectionA, and move a child from one location to parentA, then the child inherit SectionA.
      But then, if I update ParentA section to some sectionB, then this update is not propagate through his children. In this case, the child would still be assigned to SectionA instead of SectionB.

      Steps to Reproduce

      -Create one section "sectionA"
      Create another section "sectionB"
      Create one "folder1"
      At same level, create another folder "folder2"
      Assign "folder1" to "SectionA"
      Move "folder2" to be a child of "Folder1"
      View "folder2"'s section - one can see that is "SectionA" (it means that inherit his parent's section)
      Change "Folder1" section to "SectionB"
      View again "Folder2" section. We can see that he still has "SectionA"

      Note: If this is the expected behaviour, please close this issue as invalid.

        Activity

        Hide
        Paulo Nunes (Inactive) added a comment -

        This issue ended up being invalid after some discussion.

        Conclusion: Sections are currently only applied to subtree on copy and move Location/Subtree operations, not when we change the parents section.
        https://ez-systems-developer-documentation.readthedocs-hosted.com/en/master/guide/repository/#sections

        Show
        Paulo Nunes (Inactive) added a comment - This issue ended up being invalid after some discussion. Conclusion : Sections are currently only applied to subtree on copy and move Location/Subtree operations, not when we change the parents section. https://ez-systems-developer-documentation.readthedocs-hosted.com/en/master/guide/repository/#sections

          People

          • Assignee:
            Unassigned
            Reporter:
            Paulo Nunes (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: