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

AppWithinMinutes entries cannot be created, edited or viewed if the renamed app has an apostrophe in its name

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.10.2, 12.6.7
    • App Within Minutes
    • None
    • Windows 10 Pro 64 bit, Edge 87, using a local instance of XWiki 12.10.2 on Oracle 19c, Tomcat 9.0.41
    • Unknown

    Description

      STEPS TO REPRODUCE

      1. Create an AWM with an apostrophe (') in its name
      2. Add the User, Group or Page pickers
      3. Add an entry
      4. Rename/move the AWM app containing the apostrophe in the name to a new location (e.g. Sandbox)
      5. Click on the existing entry's page to view it
      6. Add a new entry
      7. Click 'Edit' to edit the existing entry

      EXPECTED RESULTS

      The entry pages are displayed properly when viewed/ created/ edited.

      ACTUAL RESULTS

      When creating a new entry, viewing or editing an existing one (created before the app was moved), there is just the following warning on the page:

      The current page doesn't have the expected App1' object.

      As a result, no entries can be added, nor the existing ones can be viewed or edited.

      I've noticed that after the app is edited and re-saved, the entries are displayed as expected.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              iandriuta Ilie Andriuta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: