WSRP getPortletProperties not working in EPP 5.2

Solution Verified - Updated -

Issue

Using EPP 5.2.1 as WSRP v1 producer, the following operations fail to work properly:

  • 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.

Environment

  • JBoss Enterprise Portal Platform (EPP)
    • 5.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content