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/23 16:06:00 UTC

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

Andrea Patricelli created SYNCOPE-1123:
------------------------------------------

             Summary: 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:
{
  "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": {}
          }
}
self registration fails due to NPE



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