[JBoss JIRA] Created: (GTNPORTAL-1992) can't retrieve portlets from contentregistry
by Matt Wringe (JIRA)
can't retrieve portlets from contentregistry
--------------------------------------------
Key: GTNPORTAL-1992
URL: https://issues.jboss.org/browse/GTNPORTAL-1992
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Java API
Reporter: Matt Wringe
Assignee: Chris Laprun
can't retrieve portlets from the content registry.
When performing iterator.next() with an iterator from portal.getContentRegistry().getAll() it will fail with a class cast exception:
16:24:15,930 ERROR [STDERR] Caused by: java.lang.ClassCastException: org.exoplatform.application.registry.Application cannot be cast to org.gatein.pc.api.Portlet
16:24:15,930 ERROR [STDERR] at org.gatein.portal.api.impl.content.ContentRegistryImpl.newContentFrom(ContentRegistryImpl.java:247)
16:24:15,930 ERROR [STDERR] at org.gatein.portal.api.impl.content.ContentRegistryImpl.access$200(ContentRegistryImpl.java:48)
16:24:15,930 ERROR [STDERR] at org.gatein.portal.api.impl.content.ContentRegistryImpl$3.adapt(ContentRegistryImpl.java:295)
16:24:15,930 ERROR [STDERR] at org.gatein.portal.api.impl.content.ContentRegistryImpl$3.adapt(ContentRegistryImpl.java:283)
16:24:15,930 ERROR [STDERR] at org.gatein.portal.api.impl.util.AdaptedIterableCollection$1.adapt(AdaptedIterableCollection.java:52)
16:24:15,930 ERROR [STDERR] at org.gatein.portal.api.impl.util.AdaptedIterator.next(AdaptedIterator.java:44)
16:24:15,930 ERROR [STDERR] at org.gatein.api.rest.resource.handler.GadgetRepositoryHandler.getGadgets(GadgetRepositoryHandler.java:61)
16:24:15,930 ERROR [STDERR] at org.gatein.api.rest.service.GadgetRepositoryService.getGadgetRepositoryResource(GadgetRepositoryService.java:50)
16:24:15,930 ERROR [STDERR] ... 47 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (GTNPORTAL-1981) ManagedContents are not updated properly
by Matt Wringe (JIRA)
ManagedContents are not updated properly
----------------------------------------
Key: GTNPORTAL-1981
URL: https://issues.jboss.org/browse/GTNPORTAL-1981
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Java API
Reporter: Matt Wringe
Assignee: Chris Laprun
can't currently update a managed content object, the changes are not saved.
If trying to change the name, it will recreate a new managed content object. It creates a whole new object, so the display name and description are autogenerated, not based on the previous values of the old managed content. The previous managedcontent is not deleted.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months
[JBoss JIRA] Created: (GTNPORTAL-1989) Application Registry crashes if a category is created using the api
by Matt Wringe (JIRA)
Application Registry crashes if a category is created using the api
-------------------------------------------------------------------
Key: GTNPORTAL-1989
URL: https://issues.jboss.org/browse/GTNPORTAL-1989
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Java API
Reporter: Matt Wringe
Assignee: Chris Laprun
If you create a category using the java api, the application registry portlet will crash.
To recreate:
1) start portal and check that the application registry portlet works properly
2) create a new category using the java api, notice that the new category is _not_ added to the application registry
3) log out and log back into the portal (this should refresh the category list)
4) access the application registry portlet. The portlet will crash and not display in the portal.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
14 years, 8 months