Foros de discusión
Jasper errors
Jeff Williams, modificado hace 15 años.
Jasper errors
Regular Member Mensajes: 107 Fecha de incorporación: 15/07/08 Mensajes recientes
I keep getting a lot of escaped string errors from jasper:
This type of thing usually causes portlets to not display items....same happened with the rss-portlet.
While I can fix these just fine, I'm just wondering what may be the reason for this happening? Am I seeing a version problem with Jasper here? I don't see how I could be....
any ideas?
15:02:31,711 ERROR [IncludeTag:52] org.apache.jasper.JasperException: /html/portlet/calendar/edit_event.jsp(412,87) Attribute value event == null ? LanguageUtil.get(pageContext, "new-event") : event.getTitle() is quoted with " which must be escaped when used within the value
This type of thing usually causes portlets to not display items....same happened with the rss-portlet.
While I can fix these just fine, I'm just wondering what may be the reason for this happening? Am I seeing a version problem with Jasper here? I don't see how I could be....
any ideas?
Juan Fernández, modificado hace 14 años.
RE: Jasper errors
Liferay Legend Mensajes: 1261 Fecha de incorporación: 2/10/08 Mensajes recientesJeff Williams:
any ideas?
Hi Jeff:
a quick fix for this is adding the JAVA_OPTS this variable in setenv.sh (or setenv.bat in Windows) file in Tomcat:
-Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
Greetings