[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-562) Impossible to overwrite PortalTemplateConfigOption.groovy by adding to the portal extension to add new portal templates

Minh Hoang TO (JIRA) jira-events at lists.jboss.org
Mon Feb 1 03:39:26 EST 2010


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

Minh Hoang TO commented on GTNPORTAL-562:
-----------------------------------------

I tested with sample-ext in GateIn. From the UI and console, i could confirm that .groovy is overwritten.

Anyway, when i debuged to check the list of WebAppInitContext in  PortalContainerContext, abnormal things did happen

1. A PortalContainerPreInitTask , the one registers context of sample-ext.war  is added ( breakpoint in PortalContainerConfigOwner)

2. The list of WebAppInitContext in PortalContainerContext contains only one element corresponding to portal.war ( break point in PortalContainerContext, method getResourceAsStream )

 Obviously, 2 conflicts with 1 and makes overwriting impossible!

> Impossible to overwrite PortalTemplateConfigOption.groovy by adding to the portal extension to add new portal templates
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-562
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-562
>             Project: GateIn Portal
>          Issue Type: Bug
>    Affects Versions: 3.0.0-Beta05
>            Reporter: Trong Tran
>            Assignee: Minh Hoang TO
>             Fix For: 3.0.0-CR01
>
>   Original Estimate: 2 days
>  Remaining Estimate: 2 days
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list