Monday, December 20, 2010

Problem with Liferay 4.3.4 on Websphere 5.1

com.liferay.portal.events.ServicePreAction.java

fixState method:

/* WebSphere when builds an url with query string and forwards the request to that URL,
* the request.getRequestURI() method returns the URI with the query string.
*/
// if (!requestURI.endsWith("/portal/layout")) {
// return;
// }


// The above snippet should be changed to:

if (!(requestURI.indexOf("/portal/layout") > -1)) {
return;
}

No comments:

Post a Comment