[
https://issues.apache.org/jira/browse/RAVE-332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jasha Joachimsthal updated RAVE-332:
------------------------------------
Issue Type: Improvement (was: Sub-task)
Parent: (was: RAVE-331)
> Change logic of adding a duplicate widget
> ------------------------------------------
>
> Key: RAVE-332
> URL: https://issues.apache.org/jira/browse/RAVE-332
> Project: Rave
> Issue Type: Improvement
> Reporter: Jasha Joachimsthal
> Assignee: Jasha Joachimsthal
> Priority: Minor
> Attachments:
> RAVE-332_move_check_for_existing_widget_from_the_service_to_the_validator.patch
>
>
> 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