Portal Site Manager portlet not save "unhidden" state for PSML
--------------------------------------------------------------
Key: JS2-921
URL: https://issues.apache.org/jira/browse/JS2-921
Project: Jetspeed 2
Issue Type: Bug
Components: Admin Portlets
Affects Versions: 2.1.3
Environment: Jetspeed 2.1.3, Tomcat 5.5.27, Mozilla Fierfox 3.0.5 or
IE 7.0.5730.13, Windows XP
Reporter: Ilya A. Izergin
Portal Site Manager / PSML / Information if "hidden" checkbox checked - uncheck
state not save after click "save" button.
components/portal/src/java/org.apache.jetspeed.layout.impl.UpdatePageAction.java
(updateInformation line 380)
String hidden = getActionParameter(requestContext, "hidden");
if (hidden != null && isBooleanModified(hidden, page.isHidden()))
page.setHidden(!page.isHidden());
any browsers return null for "unchecked" checkbox. I think replace it to
boolean hidden =
"true".equalsIgnoreCase(getActionParameter(requestContext, "hidden"));
if( page.isHidden() != hidden)
page.setHidden( hidden );
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]