Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6455

nodeNameValidator doesn't work correctly in "createPage" case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.10
    • 6.2.5
    • None
    • None

      Steps to reproduce

      1. Create page in the root with name "pageA"
      2. Create page in the root with name "pageB"
      3. Create page in the root with name "pageA"
        • page with name "pageA0" is created
      4. Create page inside pageB with name "pageA"
        • error  "pageA" already exists

      Actual result
      Name is checked for duplicates in parent of parent.

      Expected result
      Name is checked for duplicates in parent.

      Note for Developers
      This probably happens because on this line context object contains parent node for "createPage" use-case and the edited page in "renamePage" use-case.
      Probably some parameter is required to define whether parent should be examined for duplicates.

        Acceptance criteria

              rkovarik Roman Kovařík
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 20m
                    20m