[jboss-jira] [JBoss JIRA] Created: (JBPORTAL-2409) Unable to delete property without value in portal admin interface
Viliam Rockai (JIRA)
jira-events at lists.jboss.org
Tue Jun 9 08:07:56 EDT 2009
Unable to delete property without value in portal admin interface
-----------------------------------------------------------------
Key: JBPORTAL-2409
URL: https://jira.jboss.org/jira/browse/JBPORTAL-2409
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Web
Affects Versions: 2.7.3 Final
Reporter: Viliam Rockai
Assignee: Chris Laprun
This bug is present in at least three places:
-Manage properties for all portals
-Properties of each portal
-Dashboards
in these interfaces it is possible to add values with custom names. when the property is added, it's default value is blank. when a property with blank value is to be deleted (clicking on the delete icon next to the property) nothing will happen. if some value is added to the property, it can be deleted. If you delete the value of some existing property, it can't be deleted.
after clicking on delete button (page is reloaded) for property without a value, you cannot even delete properties with values until you set values to the blank fields.
excerpt from the log:
14:07:45,694 ERROR [STDERR] Jun 9, 2009 2:07:45 PM javax.faces.component.UIInput updateModel
SEVERE: /jsf/common/editProperties.xhtml @108,130 value="#{prop.value}": Error writing 'value' on type org.jboss.portal.core.admin.ui.PropertyBean
java.lang.NullPointerException
at org.jboss.portal.faces.gui.ManagedBean.getLocalizedType(ManagedBean.java:131)
at org.jboss.portal.faces.gui.ManagedBean.checkNameValidity(ManagedBean.java:85)
at org.jboss.portal.faces.gui.ManagedBean.checkNameValidity(ManagedBean.java:75)
at org.jboss.portal.core.admin.ui.PropertyBean.setValue(PropertyBean.java:108)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
.........
14:07:45,918 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=_AdminPortletWindow:j_id132:common-manage-prop-form:prop-data-table:0:prop-value-input[severity=(ERROR 2), summary=(/jsf/common/editProperties.xhtml @108,130 value="#{prop.value}": Error writing 'value' on type org.jboss.portal.core.admin.ui.PropertyBean), detail=(/jsf/common/editProperties.xhtml @108,130 value="#{prop.value}": Error writing 'value' on type org.jboss.portal.core.admin.ui.PropertyBean)]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list