| Summary: | "org.gatein.pc.api.NoSuchPortletException" occurs when adding an .NET wsrp portlet to a page. | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Gary Hu <garyhu2> |
| Component: | Portal | Assignee: | claprun <claprun> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.1.0.GA | CC: | chris.laprun, epp-bugs, garyhu2, mweiler, theute, wsiqueir |
| Target Milestone: | --- | ||
| Target Release: | 5.2.0.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-944 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-12 15:31:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Gary Hu
2011-05-10 16:17:24 UTC
It seems to make a difference how the remote portlet is added to the categories: Approach 1: ---------- 1.a Group -> Administration -> Application Registry 1.b Click on 'Portlet' 1.c Click on 'REMOTE' 1.d Select remote portlet and click on 'Click here to add into categories', add the portlet to Web category 1.e Create a new page and add the portlet -> ERROR: org.gatein.pc.api.NoSuchPortletException: No such portlet /netunity.E3C97F09-2C61-473a-B303-663B0D20E1B7 Approach 2: ---------- 2.a Group -> Administration -> Application Registry 2.b In the 'CATEGORIES' box, select the Web category 2.c Click the + symbol to add portlets to this category 2.d Change select box 'Application Type' to 'wsrp' 2.e Select a portlet and click 'Add' 2.f Create a new page and add the portlet -> WORKS While it does not explain the difference in the generated portletID depending on how the portlet is added to the categories, there is a related JIRA regarding the inability to add portlets where the id has a preceding slash to a page: https://issues.jboss.org/browse/JBEPP-854 Here is another approach 3.a Group -> Administration -> Application Registry 3.b click "Import Applications".There will be categories "remote" as well as the producer services created by EPP. For example, I'm using NetUnit public producer, so "NetUnit" and "NetUnit Producer" categories are generated. 3.c Create a new page and add the portlet from the categories "remote", or "NetUnit" or "NetUnit Producer" -> WORKS Release Notes Docs Status: Added: Not Yet Documented Labels: Added: EPP_5_2_1_Candidate I believe that this has been fixed. I need to double check though. Labels: Removed: EPP_5_2_1_Candidate Release Notes Text: Added: Remote portlets were previously inconsistently handled at the Application Registry level. This situation resulted in an error being thrown when a remote portlet was added to a page after it had manually been added to a category from the Portlet tab of the Application Registry. This issue has been addressed and it should be now possible to add remote portlets to pages without problem, regardless of how they were made available to categories. |