]
Prabhat Jha resolved JBPORTAL-2222.
-----------------------------------
Resolution: Done
I think this is resolved. Just cleaning up the dependencies. :-)
Moving a folder into itself in CMS raise an exception
-----------------------------------------------------
Key: JBPORTAL-2222
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2222
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal CMS
Affects Versions: 2.7.0 CR1
Environment: fedora 9, laptop t61, java version "1.5.0_16", firefox
3.0.1
Reporter: Viliam Rockai
Assignee: Thomas Heute
Fix For: 2.7.0 Final, 2.6.8 Final
login as admin, go to the cms interface
with the "select action" selector choose "create folder" and create a
folder with name "foldertomove" and description "folder to move"
after the creation you on the screen with contents of the new folder (empty) ,but you see
a selector with actions, select "move"
on the "move" screen choose the "foldertomove" (on the left side on
the screen) as a destination folder and click "move"
you should see this exception:
ERROR
Cause: java.lang.NullPointerException
StackTrace:
java.lang.NullPointerException
at
org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet.internalDoView(CMSAdminPortlet.java:253)
at org.jboss.portal.core.cms.ui.admin.CMSAdminPortlet.doView(CMSAdminPortlet.java:192)
at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:258)
at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:245)
at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:399)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: