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

Watchlist removes element with comma in name when adding new element

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.1
    • Fix Version/s: 6.0-milestone-1
    • Component/s: Watchlist
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      • create a new page witha comma in the name, say Sandbox.a,b
      • add this page to your watchlist
      • add another page, say Sandbox.WebHome

      Expected: both Sandbox.a,b and Sandbox.WebHome and in the watchlist
      Observed: only Sandbox.WebHome

      The problem is that when adding page commas only get escaped in the element added, but not in the elements already present, while these get unescaped when loading the list.

        Attachments

          Activity

            People

            • Assignee:
              camil7 Clemens Robbenhaar
              Reporter:
              camil7 Clemens Robbenhaar
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: