[gatein-issues] [JBoss JIRA] (GTNPORTAL-2700) Interfering Resource Bundles of Sample Portal and Sample Extension

Peter Palaga (JIRA) jira-events at lists.jboss.org
Mon Nov 5 08:33:18 EST 2012


    [ https://issues.jboss.org/browse/GTNPORTAL-2700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731770#comment-12731770 ] 

Peter Palaga commented on GTNPORTAL-2700:
-----------------------------------------

In ExoKernelIntegration there is 
{code:java}
      final ExoContainer topContainer = ExoContainerContext.getTopContainer();
      FederatingPortletInvoker federatingPortletInvoker = (FederatingPortletInvoker)topContainer.getComponentInstanceOfType(FederatingPortletInvoker.class);
      if (federatingPortletInvoker == null)
      {
         federatingPortletInvoker = new FederatingPortletInvokerService();
         topContainer.registerComponentInstance(FederatingPortletInvoker.class, federatingPortletInvoker);
      }

{code}
which probably causes that the same federatingPortletInvoker instance (plus the same linked invokers) is included in the invoker chain for every portal container.

GTNPORTAL-2406 is related.
                
> Interfering Resource Bundles of Sample Portal and Sample Extension
> ------------------------------------------------------------------
>
>                 Key: GTNPORTAL-2700
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2700
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Peter Palaga
>
> When I deploy both Sample Extension and Sample Portal, only bundles from the sample portal EAR are used. Both sample portal and extension home portlet are showing "This is the Home Page of the "sample-portal"". The extension at /portal should show "Congratulation, you just installed a new portal extension".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the gatein-issues mailing list