Details
-
Bug
-
Status: Closed
-
Resolution: Duplicate
-
6.1.1 CE GA2
-
LIFERAY VERSION: 6.1 GA1
OPERATING SYSTEM: Red Hat Enterprise 6
APPLICATION SERVER: Tomcat 7.0
JAVA VIRTUAL MACHINE: Java 6
DATABASE: Oracle 11.1
Description
ISSUE
When using a structure and template in a web content article with special characters (such as ®) will result in an error when publishing. The content will also be blank when going back to edit it.
ERRORS/LOGS
21:55:09,020 ERROR [LocaleTransformerListener:129] com.liferay.portal.kernel.xml.DocumentException: Error on line 8 of document : The entity "reg" was referenced, but not declared. Nested exception: The entity "reg" was referenced, but not declared.
STEPS TO REPRODUCE
1. Create structure
<?xml version="1.0"?> <root> <dynamic-element name="headline" type="text" index-type="" repeatable="false"/> <dynamic-element name="body" type="text_area" index-type="" repeatable="false"/> </root>
2. Create template using the structure in #1
Template:
$headline.getData() <br> <br> $body.getData()
3. Create a webcontent for a site using the template.
4. Add title.
5. In the text area, add the following text Company®
6. Click publish
Attachments
Issue Links
- duplicates
-
LPS-26009 Web content does not support nonstandard html elements
- Closed