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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.10.4, 13.1-rc-1
    • 10.11.8
    • Ratings
    • None
    • Unit
    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    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

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

            Dates

              Created:
              Updated:
              Resolved: