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

[RelationshipType] Error due to the Empty Description

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: Platform 1.11.0
    • Fix Version/s: Platform 2.0.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Problem:

      There is no validation done for the Empty description for the Relationship Type But if we try to save with the empty description, the system crashes.
      (See Snapshot2.png)

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

      2. Add the value in the field A is to B and B is to A and keep the Description Empty (see Snapshot1.png)

      Expected:
      The empty description should not generate error.

        Attachments

        1. all_blank.png
          all_blank.png
          31 kB
        2. description_blank_only.png
          description_blank_only.png
          27 kB
        3. Sanpshot1.png
          Sanpshot1.png
          154 kB
        4. Snapshot2.png
          Snapshot2.png
          148 kB

          Activity

            People

            Assignee:
            tharunya Tharunya Pati
            Reporter:
            ergaurav2 Gaurav Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified