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

Rename sets empty document author and breaks scripts

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 7.4.2, 8.1
    • Fix Version/s: None
    • Component/s: Refactoring
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Steps to reproduce:

      1. Rename the Blog page to Blog2, including children.
      2. Go to Blog2.BlogPostSheet and see "Last modified by Unknown User..."
        1. Same thing happens for other child pages like Blog2.Archive, Blog2.BlogSheet, etc. but not all. Some pages like Blog2.BlogIntroduction or Blog2.BlogClass (and others) have the author correctly set.
      3. The velocity macros also fail to execute since the guest user does not have Script Rights.

      The biggest problem is that the Script Rights and Programming Rights of the pages are broken and the Blog application (in this example) stops working, even if it is renamed back to it's original Blog name.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mflorea Marius Dumitru Florea
                Reporter:
                enygma Eduard Moraru
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: