[
http://jira.magnolia.info/browse/MAGNOLIA-1095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905#action_15905
]
Ryan Gardner commented on MAGNOLIA-1095:
----------------------------------------
I can confirm that it also breaks XML output, backups, and activation of the
page that contains the bad character. I can also confirm that it is a major
hassle to find the exact paragraph that is breaking this because of where the
exception is being caught it doesn't output any information about the context -
it just says blames it on SAX - lists the character, and moves on.
Providing a more detailed exception when an export gets broken is very
important. I've also noticed that the backup isn't very fault-tolerant. I will
open another ticket about that issue.
> ASCII Backspace Character Breaks XML Export
> -------------------------------------------
>
> Key: MAGNOLIA-1095
> URL: http://jira.magnolia.info/browse/MAGNOLIA-1095
> Project: Magnolia
> Issue Type: Bug
> Affects Versions: 3.0 RC2
> Environment: Redhat Enterprise, BDB PM
> Reporter: Sean McMains
> Assignee: Philipp Bracher
> Priority: Critical
> Attachments: exampleBadSource.txt
>
>
> One of our content editors pasted text into an FCK Editor field from another
> source. Among the content was a backspace character (ASCII 8, or CTRL-H).
> While Magnolia could save and edit this page without difficulty, Jackrabbit
> was unable to render that into XML, which broke publishing, backups, export,
> etc. for that page. We were eventually able to fix the problem by using the
> JCR browser to copy the data into a text editor, have it zap the
> non-displayable characters, and then paste the result back into the
> repository.
> To solve this issue, I'd suggest that stripping non-printable characters from
> String values (or at least for the FCK Editor controls) before persisting
> them to the repository might be a good approach.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------