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

Field Validation Errors Need to Prevent User from Saving

    XMLWordPrintable

    Details

      Description

      Managed object fields have validation which ensure the values submitted by the front end are allowed by the backend. This validation shows errors on the field by highlighting the field border red, and showing the issue when you hover over the field. However, a user is still able to click the save button when one or more of these errors exists.

      The save button needs to be disabled when any field validation is reporting an error.

       

       

      Error returned from server for this save: 

      SEVERE: Bundle: org.forgerock.openidm.managed [298] bundle org.forgerock.openidm.managed:7.0.0.SNAPSHOT (298)[org.forgerock.openidm.managed.service(154)] : The updatedManagedObjectConfig method has thrown an exception org.apache.felix.log.LogException: org.forgerock.json.JsonValueException: /objects/3/name: Managed object name must contain at least one of, but limited to, the characters a-zA-Z0-9_

       

      Acceptance Criteria:

      Save button is only enabled when all required fields are filled in and there are no validation errors currently on any fields.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.wong Michael Wong
              Reporter:
              andrew.hertel Andrew Hertel
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: