[
http://jira.jboss.com/jira/browse/JBPORTAL-1784?page=comments#action_1238... ]
Chris Laprun commented on JBPORTAL-1784:
----------------------------------------
But an empty value IS a value... as opposed to null which is not. Depending on the
portlet, an empty value could be meaningful, whereas null always means absence of value.
The specification is once again rather vague... but I think that the current strict
interpretation is correct and that Oracle's producer should be fixed.
WSRP - Markup String / Binary handling - fail correctly
-------------------------------------------------------
Key: JBPORTAL-1784
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1784
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal WSRP
Affects Versions: 2.6.2 Final
Environment: Oracle OC4J 10.1.3.3.0, Jboss 2.6.2
Reporter: Dave Rowe
Assigned To: Chris Laprun
When JBoss checks the Markup response, it only checks if the byte array is not null. It
needs an additional check to validate that the length is greater than zero.
This is in org.jboss.portal.wsrp.consumer.RenderHandler (line 102, as of rev. 7792). Add
in an additional check that binary.length > 0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira