You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Andrea Patricelli (JIRA)" <ji...@apache.org> on 2017/06/27 14:09:00 UTC

[jira] [Resolved] (SYNCOPE-1123) Enduser UserRequestValidator NPE on custom form empty sections

     [ https://issues.apache.org/jira/browse/SYNCOPE-1123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrea Patricelli resolved SYNCOPE-1123.
----------------------------------------
    Resolution: Fixed

> 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)