syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Patricelli (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYNCOPE-1123) Enduser UserRequestValidator NPE on custom form empty sections
Date Tue, 27 Jun 2017 14:12:01 GMT

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

Andrea Patricelli commented on SYNCOPE-1123:
--------------------------------------------

Many Thanks to [~skylark17] for the resolution of this issue!

> Enduser UserRequestValidator NPE on custom form empty sections
> --------------------------------------------------------------
>
>                 Key: SYNCOPE-1123
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1123
>             Project: Syncope
>          Issue Type: Bug
>          Components: enduser
>    Affects Versions: 2.0.3
>            Reporter: Andrea Patricelli
>            Assignee: Andrea Patricelli
>             Fix For: 2.0.4, 2.1.0
>
>
> With this customForm.json like this:
> {code}
> {
>   "PLAIN":
>           {
>             "show": true,
>             "attributes": 
>                     {
>                       "username":  
>                               {
>                                 "defaultValues": [
>                                   "bellini"
>                                 ]
>                               },
>                       "firstname":  
>                               {
>                                 "readonly": false
>                               },
>                       "surname":  
>                               {
>                                 "defaultValues": [
>                                   "nuovo_surname"
>                                 ]
>                               },
>                       "fullname":  
>                               {
>                                 "defaultValues": [
>                                   "fullname"
>                                 ]
>                               },
>                       "email":  
>                               {
>                                 "defaultValues": [
>                                   "test@apache.org"
>                                 ]
>                               },
>                       "userId": 
>                               {
>                                 "readonly": false
>                               },
>                       "ctype": 
>                               {
>                                 "readonly": false
>                               }
>                     }
>           },
>   "DERIVED": 
>           {
>             "show": false
>           },
>   "VIRTUAL": 
>           {
>             "show": true,
>             "attributes": {}
>           }
> }
> {code}
> self registration fails due to NPE



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message