Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-12571

Inconsistencies on children count for Copy, Rename, Delete actions

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2-rc-1
    • Fix Version/s: 7.2
    • Component/s: Flamingo Skin
    • Labels:
    • Development Priority:
      High
    • Difficulty:
      Easy
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Try to copy a parent page A with default Administrator user. See images.

      • copyChildren.png shows 2 children are affected by the change,
      • but if you go in ?viewer=children you can see 6 results, see viewerChildren.png
      • while the Homepage Tree displayes 7 entries, see homeTree.png

      Notes:

      • Existing pages: A, B, C, F, G, D Terminal
      • Non existing pages: E, D
        • Deleted pages: D
      • the copy children count, counts only direct (B.WebHome, A.WebPreferences)
      • the tree displays also non existing pages (E), but no WebPreferences
      • the children view, doesn't count non existing pages, but counts WebPreferences

      The count from Copy, Rename, Delete should show the same number. I think the correct is '6'

        Attachments

        1. copyChildren.png
          copyChildren.png
          578 kB
        2. deleteA.png
          deleteA.png
          78 kB
        3. homeTree.png
          homeTree.png
          40 kB
        4. renameA.png
          renameA.png
          149 kB
        5. viewerChildren.png
          viewerChildren.png
          279 kB

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              evalica Ecaterina Moraru (Valica)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 2 hours
                2h