syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgrosso <...@git.apache.org>
Subject [GitHub] syncope pull request #18: Added Exception for existing key (SYNCOPE-866)
Date Fri, 03 Jun 2016 08:32:30 GMT
Github user ilgrosso commented on a diff in the pull request:

    https://github.com/apache/syncope/pull/18#discussion_r65673143
  
    --- Diff: core/logic/src/main/java/org/apache/syncope/core/logic/ReportTemplateLogic.java
---
    @@ -84,6 +85,12 @@ public ReportTemplateTO transform(final ReportTemplate input) {
     
         @PreAuthorize("hasRole('" + StandardEntitlement.REPORT_TEMPLATE_CREATE + "')")
         public ReportTemplateTO create(final String key) {
    +        for (ReportTemplateTO reportTemplateTO: list()) {
    --- End diff --
    
    Take a look at [ResourceLogic](https://github.com/apache/syncope/blob/master/core/logic/src/main/java/org/apache/syncope/core/logic/ResourceLogic.java#L121-L123)
and do accodingly.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message