Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-865

MongoDB: usersRoles account pwd should be set as required

    Details

      Description

      If `pwd` attribute is not in create payload, I've got exception

      WARNING: Resource exception: 500 Internal Server Error: "Command failed with error 14: '"pwd" had the wrong type. Expected string, found null' on server localhost:27017. The full response is \{ "ok" : 0.0, "errmsg" : "\"pwd\" had the wrong type. Expected string, found null", "code" : 14, "codeName" : "TypeMismatch" }"
      org.forgerock.json.resource.InternalServerErrorException: Command failed with error 14: '"pwd" had the wrong type. Expected string, found null' on server localhost:27017. The full response is \{ "ok" : 0.0, "errmsg" : "\"pwd\" had the wrong type. Expected string, found null", "code" : 14, "codeName" : "TypeMismatch" }
      

      If pwd is must have, it should be set to required in schema script

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                petr.jurica Petr Jurica [X] (Inactive)
                Reporter:
                michal.orlik@profiq.cz Michal Orlik
                QA Assignee:
                Michal Orlik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: