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

AWM applications located in extensions are not protected against move/rename anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 11.2-rc-1
    • 11.1-rc-1
    • App Within Minutes
    • Windows 10 Pro 64 bit, Firefox 65, using a local instance of XWiki 11.1 on PostgreSQL 10
    • Unknown
    • N/A
    • N/A

    Description

      STEPS TO REPRODUCE

      1. Login as Admin (simple user)
      2. Go to Menu's App homepage: http://localhost:8080/xwiki/bin/view/Menu/
      3. Click 'More Actions' > 'Move / Rename'
      4. Type a new name (e.g. 'Menu1')
      5. Click 'Rename'
      6. Observe the Applications Panel
      7. Go to Administer Wiki > Look & Feel > Menu
      8. Go to http://localhost:8080/xwiki/bin/view/Menu1/ and try to rename back the application to 'Menu'

      EXPECTED RESULTS

      The Menu Application (and all pages containing XClass) is protected against moving/renaming. Simple users are forbidden to make refactoring operations in pages that contain used XClass, whereas advanced users get an UI to allow them selecting the pages to refactor.

      ACTUAL RESULTS

      The Menu can be renamed to 'Menu1' by using the rename application feature. After the rename, the application is displayed in Applications Panel. Also, the Menu section from Administration is blank. If the user tries to rename back the application to 'Menu', the action is not allowed.

      The issue cannot be reproduced on XWiki 11.0.3.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: