[gatein-issues] [JBoss JIRA] (GTNWSRP-295) Producer should emit supportedOptions

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Mon Aug 27 10:35:36 EDT 2012


    [ https://issues.jboss.org/browse/GTNWSRP-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12713920#comment-12713920 ] 

RH Bugzilla Integration commented on GTNWSRP-295:
-------------------------------------------------

Honza Fnukal <hfnukal at redhat.com> made a comment on [bug 835375|https://bugzilla.redhat.com/show_bug.cgi?id=835375]


    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1,9 +1,15 @@
-Is a RN required for this issue? If so, please write CCFR.
-
 CAUSE:
+ * WSRP: getPortletProperties doesn't behave properly when en empty set of property names is passed
+ * WSRP type factories require a lang value to create a Property even though it's optional according to XSD
+LONG DESCRIPTION:
+ * Using WSRP v1, the getPortletProperties method fails to return the list of portlet properties if the request contains an empty set of property names. If the names element contains the 'nil' attribute with value 'true', the request fails with a NullPointerException.
+ * Using WSRP v1, the setPortletProperties method fails if the 'properties' element does not contain the 'lang' attribute. The request gets rejected by the server with an IllegalArgumentException: 'Property requires a non-null, non-empty language'. According to the WSRP specification, the 'lang' attribute is optional.
 
 CONSEQUENCE:
+The request gets rejected by the server with an IllegalArgumentException: 'Property requires a non-null, non-empty language'
 
 FIX:
+Patch applied
 
-RESULT:+RESULT:
+Issue fixed, no exception is thrown
                
> Producer should emit supportedOptions
> -------------------------------------
>
>                 Key: GTNWSRP-295
>                 URL: https://issues.jboss.org/browse/GTNWSRP-295
>             Project: GateIn WSRP
>          Issue Type: Feature Request
>          Components: Producer
>    Affects Versions: 2.1.5-GA
>            Reporter: Chris Laprun
>            Assignee: Chris Laprun
>             Fix For: 2.1.6-GA
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list