Bug 727716 - An error occurred during conversion seam text to html
Summary: An error occurred during conversion seam text to html
Alias: None
Product: Zanata
Classification: Retired
Component: Component-UI
Version: 1.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: zanata-dev-internal
QA Contact: Ding-Yi Chen
Depends On:
Blocks: Zanata-1.4.3
TreeView+ depends on / blocked
Reported: 2011-08-03 01:51 UTC by Manuel Ospina
Modified: 2015-11-10 00:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-04-23 04:33:13 UTC

Attachments (Terms of Use)

Description Manuel Ospina 2011-08-03 01:51:54 UTC
Description of problem:
When trying to edit a project, I go this error
An error occurred during conversion seam text to html

Version-Release number of selected component (if applicable): Zanata version 1.3 (20110509-2113). 

How reproducible:

Steps to Reproduce:
1. Go to https://translate.engineering.redhat.com//project/view/rhn_subscription_management&cid=22550
2. Click edit
Actual results:
Go to an error page

Expected results:
It should go to the project edit page

Additional info:

Comment 1 Sean Flanigan 2011-08-03 07:37:39 UTC
Thanks for the report Manuel. This is caused by a bug in Seam's richfaces library, which doesn't handle (eg) unmatched underscores in SeamText fields (which we use in our Project pages).  So if the content uses an odd number of underscores, it breaks the SeamText editor.

We'll have to go into the database and remove the offending text, as a workaround.

Zanata 1.4 will have an updated richfaces library which fixes the problem properly.

Comment 2 Sean Flanigan 2011-08-05 06:14:38 UTC
We've updated the offending database entries to remove the underscores as a temporary workaround.

NB: if you want to include a URL which uses underscore, you could try using the three characters "%5F" instead of underscore.

Comment 5 Carlos Munoz 2011-11-16 01:37:45 UTC
Added an admin-only section to edit the home page content in plain text, bypassing the rich text editor which is causing the error.

Currently merged to the 1.5.x branch.

Comment 6 Carlos Munoz 2011-11-22 23:47:01 UTC
Merged this upgrade into the 1.4.x branch.

Comment 7 Ding-Yi Chen 2011-11-29 03:23:39 UTC
VERIFIED with Zanata version 1.4.3-alpha-3-SNAPSHOT (20111128-1320)

Note You need to log in before you can comment on or make changes to this bug.