syncope-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Francesco Chicchiriccò (JIRA) <j...@apache.org>
Subject [jira] [Updated] (SYNCOPE-1123) Enduser UserRequestValidator NPE on custom form empty sections
Date Sat, 24 Jun 2017 11:58:00 GMT

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

Francesco Chicchiriccò updated SYNCOPE-1123:
--------------------------------------------
    Description: 
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

  was:
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


> 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