You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2016/06/06 11:58:21 UTC
[jira] [Assigned] (SYNCOPE-866) Check for existence of key before
adding template
[ https://issues.apache.org/jira/browse/SYNCOPE-866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò reassigned SYNCOPE-866:
----------------------------------------------
Assignee: Francesco Chicchiriccò
> 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)