rave-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marlon Pierce (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAVE-332) Change logic of adding a duplicate widget
Date Tue, 01 Nov 2011 15:39:32 GMT

    [ https://issues.apache.org/jira/browse/RAVE-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141245#comment-13141245
] 

Marlon Pierce commented on RAVE-332:
------------------------------------

Should widgets be allowed to have the same name?  Currently they can, but this could be confusing.
 The alternative could be to prevent the reuse of a gadget name for all approved gadgets.
 Gadgets pending approval could have duplicate names. 
                
> Change logic of adding a  duplicate widget
> ------------------------------------------
>
>                 Key: RAVE-332
>                 URL: https://issues.apache.org/jira/browse/RAVE-332
>             Project: Rave
>          Issue Type: Sub-task
>            Reporter: Jasha Joachimsthal
>            Assignee: Jasha Joachimsthal
>            Priority: Minor
>
> The Validator can reject the new widget if its url is already present. 
> Then if for some reason DefaultWidgetService#registerNewWidget is called for a URL that
already exists, it can throw a (DuplicateItem)Exception instead of returning null. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message