Uploaded image for project: 'Realtime WYSIWYG Editor'
  1. Realtime WYSIWYG Editor
  2. RTWYSIWYG-74

Realtime editing not possible when dot in link

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.27
    • None
    • Tomcat 8, Debian
    • Unknown

    Description

      When trying to edit a page which has a dot in its name, I get the following error.

      SyntaxError: JSON.parse: bad control character in string literal at line 1 column 10 of the JSON data[Learn More] LoadEditors:276:24

      I investigated this a little further. The incoming data looks like this:

      dataText: "{\"xwiki:2\n. SOG Gruppierungen .2\n.6 Ressorts.Ressort IT.ressort_it.WebHome\":{\"default/content\":{\"rtwysiwyg\":{\"key\":\"keykekekeke\",\"users\":0}},\"default/events\":{\"userdata\":{\"key\":\"keykekekeke\",\"users\":0},\"1.0\":{\"key\":\"keykekekekek\",\"users\":0}}}}"

      It is weird that the dots are escaped with \n. This is probably not correct and actually I don't think that the problem is not necessarily in the RT module. However, you probably know, where to look next.
       
      Best,
      Johannes

      Attachments

        Activity

          People

            Unassigned Unassigned
            zonradkuse Johannes Neuhaus
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: