Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15266

Admin UI defaults number attributes to 0 when creating a managed resource

    XMLWordPrintable

    Details

    • Target Version/s:
    • Verified Version/s:
    • Story Points:
      1
    • Sprint:
      2021.3 UI NightOwl
    • Support Ticket IDs:

      Description

      To reproduce this issue,

      1. Add a number attribute to managed/user. For example:

                          "badgenumber" : {
                              "title" : "badgenumber",
                              "type" : "number",
                              "viewable" : true,
                              "searchable" : true,
                              "userEditable" : true
                          }
      

      2. Create a new user via admin UI without setting badgenumber. The rest call to the backend is openidm/managed/user?_action=create with payload:

      {"userName":"test3","givenName":"test3","sn":"test3","mail":"test3@example.com","preferences":{"updates":false,"marketing":false},"badgenumber":0}
      

        Attachments

          Activity

            People

            Assignee:
            huck.elliott Huck Elliott
            Reporter:
            yinyan.cao Yinyan Cao
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: