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

Liked Documents with dots in the file name / title produce give unintelligible messages when user profile is shown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 13.10.11, 14.10.3
    • Like
    • None
    • Unknown
    • N/A
    • N/A

    Description

      If the document name contains one or more dots (".") and the document is "liked", the user will get a unintelligible message when the user profile is opened:

      (German version: "Das Aktualiseren der Einträge ist aus einem unbekannten Grund fehlgeschlagen")

       

      Sorry - this is the same as XWIKI-19900

       

      I think the problem is caused by json.serialize in line 93 of XWiki.Like.Code.LiveTableResultPage as "\." within a string generates a line feed when used. (see attachments)

       

      Attachments

        1. seriell.png
          6 kB
          Norbert Schwarz
        2. seriell2.png
          6 kB
          Norbert Schwarz

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              NorSch Norbert Schwarz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: