Just trying out the 4.5.1 update, and I found a weird bug in either
4.5.1 or WOnder or both. Running in Eclipse I can see the exception
(see below), but when deployed on OS X Server all you get is a page
saying "Your request produced an error" and nothing in the log.
The problem is with HTML tags inside "valueWhenEmpty" values, like this:
<wo:WOString value = "$session.sessionID" escapeHTML="$false"
valueWhenEmpty = "line1<br/>line2"/>
which causes the exception below, but the following tag doesn't:
<wo:WOString value = "$session.sessionID" escapeHTML="$false"
valueWhenEmpty = "line1 line2"/>
Note that the first tag worked fine in WO 4.5.
So I'm wondering where I should log the bug?
Mac OS X 10.5.2 (both server and client)
WOnder frameworks from Feb 12
Regards
Thomas
com.webobjects.foundation.NSForwardException
[ognl.helperfunction.compatibility.WOMiddleManHTMLFormatException]
'<wo:WOString value = "$session.sessionID" escapeHTML="$false"
valueWhenEmpty = "line1<br' has a quote left
open.:<com.webobjects.appserver._private.WOComponentDefinition: Error
parsing template for Component : 'file:/EclipseWorkspace/WebJini/build/
WebJini.framework/Resources/Test.wo':
ognl.helperfunction.compatibility.WOMiddleManHTMLFormatException:
'<wo:WOString value = "$session.sessionID" escapeHTML="$false"
valueWhenEmpty = "line1<br' has a quote left open. at
com
.webobjects
.appserver
._private.WOComponentDefinition.template(WOComponentDefinition.java:
393) at com.webobjects.appserver.WOComponent.template(WOComponent.java:
501) at
com.webobjects.appserver.WOComponent.appendToResponse(WOComponent.java:
1111) at biz.webjini.Test.appendToResponse(Test.java:24) at
com
.webobjects
.appserver.WOComponent._appendPageToResponse(WOComponent.java:1524) at
com
.webobjects
.appserver.WOComponent._generateResponseInContext(WOComponent.java:
1493) at
com.webobjects.appserver.WOComponent.generateResponse(WOComponent.java:
1488) at
com
.webobjects
.appserver
._private
.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:
278) at
com
.webobjects
.appserver
._private
.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:161)
at
er
.extensions
.ERXDirectActionRequestHandler
.handleRequest(ERXDirectActionRequestHandler.java:82) at
com
.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:
1678) at
er.extensions.ERXApplication.dispatchRequest(ERXApplication.java:1398)
This archive was generated by hypermail 2.0.0 : Wed Feb 13 2008 - 14:26:43 EST