[jboss-jira] [JBoss JIRA] Resolved: (JBPORTAL-1784) WSRP - Markup String / Binary handling - fail correctly

Chris Laprun (JIRA) jira-events at lists.jboss.org
Wed Nov 7 16:00:46 EST 2007


     [ http://jira.jboss.com/jira/browse/JBPORTAL-1784?page=all ]

Chris Laprun resolved JBPORTAL-1784.
------------------------------------

    Resolution: Won't Fix

As per the specification, section 6.1.10, it is a producer error to sent both a markup string and markup binary, as markupString and markupBinary are mutually exclusive. Empty contents are semantically different from null content.  I consider the current behavior proper on the JBoss Portal side, and a defect of Oracle's WSRP producer. Please file an appropriate bug report with them if you have a support contract.

> 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

        



More information about the jboss-jira mailing list