[
http://jira.jboss.com/jira/browse/JBPORTAL-1491?page=all ]
Julien Viet resolved JBPORTAL-1491.
-----------------------------------
Resolution: Done
management portlet bug
----------------------
Key: JBPORTAL-1491
URL:
http://jira.jboss.com/jira/browse/JBPORTAL-1491
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal Core
Affects Versions: 2.6 CR3
Reporter: Prabhat Jha
Assigned To: Julien Viet
Fix For: 2.6 CR3
1. login as admin
2. Click Portlet Definitions
3. Clcik on "30" to see the end of the list
4. Change Portlet provider from local to self
You will see the error because there are not as many as 30 portlets from "self"
provider.
Error type: ERROR
Cause: javax.portlet.PortletException: /WEB-INF/jsf/portlets.xhtml @36,102
items="#{portletmgr.selectedPortlets}": Exception getting value of property
selectedPortlets of base of type : org.jboss.portal.core.admin.ui.PortletManagerBean
Message: /WEB-INF/jsf/portlets.xhtml @36,102
items="#{portletmgr.selectedPortlets}": Exception getting value of property
selectedPortlets of base of type : org.jboss.portal.core.admin.ui.PortletManagerBean
Stack trace:
... 260 more
Caused by: java.lang.IllegalArgumentException: fromIndex(30) > toIndex(15)
at java.util.SubList.<init>(AbstractList.java:706)
at java.util.RandomAccessSubList.<init>(AbstractList.java:860)
at java.util.AbstractList.subList(AbstractList.java:569)
at
org.jboss.portal.core.admin.ui.PortletManagerBean.getSelectedPortlets(PortletManagerBean.java:286)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira