syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <j...@apache.org>
Subject [jira] [Comment Edited] (SYNCOPE-866) Check for existence of key before adding template
Date Mon, 06 Jun 2016 11:59:21 GMT

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

Francesco Chicchiriccò edited comment on SYNCOPE-866 at 6/6/16 11:58 AM:
-------------------------------------------------------------------------

PR [merged|https://git-wip-us.apache.org/repos/asf?p=syncope.git;a=commit;h=02bccb360a0320a7df1b8db8e436350f4f657c10],
thank you very much [~tusharm]!


was (Author: ilgrosso):
PR merged, thank you very much [~tusharm]!

> Check for existence of key before adding template
> -------------------------------------------------
>
>                 Key: SYNCOPE-866
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-866
>             Project: Syncope
>          Issue Type: Improvement
>          Components: core
>            Reporter: Tushar Mishra
>            Assignee: Francesco Chicchiriccò
>             Fix For: 2.0.0
>
>
> The create(String key) method in the MailTemplateLogic and ReportTemplateLogic classes
of the org.apache.syncope.core.logic package should check if the key being added to the MailTemplateDAO
instance is already present. If such a key already exists, it should throw an appropriate
exception for the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message