Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2309

Backup and restore problems with CR / LF / CRLF

    XMLWordPrintable

Details

    Description

      as recommended in MODE-2306 i've implemented a backup & restore functionality. that worked quite well but there is a problem with properties where the stored data contains newline characters.
      The newlines get written to the exported JSON directly as for example CRLF. This makes the export file no longer readable for the import, it simply stopps importing when encountering such newline characters and only performs a partial (most of the time corrupted) import. It would be much appreciated if modeshape handles such special characters in a correct way during export / import (for example by escaping them).

      forum discussion: https://developer.jboss.org/thread/248929

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            dev_java Bernhard D. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: