Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1123

Enduser UserRequestValidator NPE on custom form empty sections

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4, 2.1.0
    • Component/s: enduser
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              andrea.patricelli Andrea Patricelli
              Reporter:
              andrea.patricelli Andrea Patricelli
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: