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

Enduser UserRequestValidator NPE on custom form empty sections

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.3
    • 2.0.4, 2.1.0
    • enduser
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: