[
https://issues.jboss.org/browse/GTNWSRP-295?page=com.atlassian.jira.plugi...
]
RH Bugzilla Integration commented on GTNWSRP-295:
-------------------------------------------------
Jared MORGAN <jmorgan(a)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,15 +1 @@
-CAUSE:
+A number of issues were discovered: 1) WSRP: getPortletProperties doesn't behave
properly when en empty set of property names is passed; 2) WSRP type factories require a
lang value to create a Property even though it's optional according to XSD. This
caused the requests to be rejected by the server with an IllegalArgumentException:
'Property requires a non-null, non-empty language'. The fix applies a patch to the
affected files which corrects the issue.- * 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:
-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