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

Vote isn't saved when the Page or it parent Space has a double quote in its name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.11.8
    • Fix Version/s: 12.10.4, 13.1-rc-1
    • Component/s: Ratings
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      Steps to reproduce:

      • Create a page containing quotation mark " in the page name ( e.g.: Rating "Test )
      • Set in the RatingsConfig "Storage method" to "separate"
      • Vote the page
        Results:
      • You can vote the page
      • Going to the space where vote was saved, you'll find the page : RatingR1 instead instead of Rating "TestR1
      • Go back to the page, or refresh the page Rating "Test , the vote is not displayed.

      For the pages containing quotation mark in the name the page where the vote is stored isn't correctly created, so that is why the vote isn't displayed.
      I have also tested with apostrophe ' in the page name, and the apostrophe is cleared in the vote page, so the vote is displayed.

        Attachments

          Activity

            People

            • Assignee:
              mleduc Manuel Leduc
              Reporter:
              andreic Camelia Andrei
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

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