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

Inconsistencies on children count for Copy, Rename, Delete actions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 7.2
    • 7.2-rc-1
    • Flamingo Skin
    • High
    • Easy
    • N/A
    • N/A

    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
          578 kB
          Ecaterina Moraru (Valica)
        2. deleteA.png
          78 kB
          Ecaterina Moraru (Valica)
        3. homeTree.png
          40 kB
          Ecaterina Moraru (Valica)
        4. renameA.png
          149 kB
          Ecaterina Moraru (Valica)
        5. viewerChildren.png
          279 kB
          Ecaterina Moraru (Valica)

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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