Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-4315

[Create Provider] Invalid validation for both empty Field and Both Filled Field

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      Problem :
      1. The error message for the both fields can't be filled is displayed when both the fields are empty.
      2. The Provider is allowed to create even when both fields are filled.

      Steps to Reproduce:

      1. Use the OpenMRS 1.11x version code and go the below link (with admin rights):
      http://localhost:8080/openmrs/admin/provider/provider.form

      2. Click on the Save Button without entering any data (see attached createprovider_1.png)

      3. Enter the data in the both field, Person and the Provider Name
      (see attached createprovider_2.png) and click on Save

        Attachments

        1. both-null.png
          both-null.png
          25 kB
        2. both-provided-errors.png
          both-provided-errors.png
          24 kB
        3. createprovider_1.png
          createprovider_1.png
          156 kB
        4. createprovider_2.png
          createprovider_2.png
          149 kB
        5. openmrs-name-and-person.png
          openmrs-name-and-person.png
          19 kB
        6. openmrs-no-name-or-person.png
          openmrs-no-name-or-person.png
          19 kB
        7. person-provided.png
          person-provided.png
          19 kB
        8. provider-name-provided.png
          provider-name-provided.png
          25 kB

          Issue Links

            Activity

              People

              Assignee:
              gwasilwa Geoffrey Wasilwa
              Reporter:
              ergaurav2 Gaurav Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 3 hours, 30 minutes Remaining Estimate - 3 hours, 30 minutes
                  3h 30m
                  Logged:
                  Time Spent - 3 hours, 30 minutes Remaining Estimate - 3 hours, 30 minutes Time Not Required
                  3h 30m