Return-Path: X-Original-To: apmail-incubator-rave-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-rave-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7ACE37F5D for ; Tue, 1 Nov 2011 15:47:53 +0000 (UTC) Received: (qmail 76284 invoked by uid 500); 1 Nov 2011 15:47:53 -0000 Delivered-To: apmail-incubator-rave-dev-archive@incubator.apache.org Received: (qmail 76252 invoked by uid 500); 1 Nov 2011 15:47:53 -0000 Mailing-List: contact rave-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: rave-dev@incubator.apache.org Delivered-To: mailing list rave-dev@incubator.apache.org Received: (qmail 76244 invoked by uid 99); 1 Nov 2011 15:47:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 15:47:53 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2011 15:47:52 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4E28E32CB8D for ; Tue, 1 Nov 2011 15:47:32 +0000 (UTC) Date: Tue, 1 Nov 2011 15:47:32 +0000 (UTC) From: "Marlon Pierce (Commented) (JIRA)" To: rave-dev@incubator.apache.org Message-ID: <608342641.46124.1320162452321.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <366746548.45971.1320160412293.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (RAVE-332) Change logic of adding a duplicate widget MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RAVE-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141253#comment-13141253 ] Marlon Pierce commented on RAVE-332: ------------------------------------ Then I suggest making description required. > 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