[gatein-issues] [JBoss JIRA] Commented: (GTNPORTAL-346) Problem when delete Tabbed Dashboard portlet when edit layout of Dashboard page

Tan Pham Dinh (JIRA) jira-events at lists.jboss.org
Thu Dec 10 22:09:29 EST 2009


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

Tan Pham Dinh commented on GTNPORTAL-346:
-----------------------------------------

I found some code in method save of UIPortalComposer.

     UserPortalConfigService configService = getApplicationComponent(UserPortalConfigService.class);
     List<String> allPortalNames = configService.getAllPortalNames();
      if(allPortalNames.contains(portalConfig.getName()))
      {
         configService.update(portalConfig);
      } 

That means we only can save portal while we're editing a portal site.
I suggest that we change PortalKey from have 2 properties (id, type) to 3 props(portalName, ownerType, ownerId). Then we can separate sites of group and user.

> Problem when delete Tabbed Dashboard portlet when edit layout of Dashboard page
> -------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-346
>                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-346
>             Project: GateIn Portal
>          Issue Type: Bug
>            Reporter: Hang Nguyen
>            Assignee: Tan Pham Dinh
>             Fix For: 3.0.0-Beta04
>
>
> - Dashboard --> Edit layout --> Delete Tabbed Dashboard portlet --> Finish --> don't display Tabscontainer --> OK --> View other page --> Return Dashboard page --> Still show Tabbed Dashboard --> Error.

-- 
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