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

Should not allow saving a Person Attribute Type without a Format

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      Problem: The Person Attribute Type without a Format specified is allowed to save.

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

      2. Add the other values but don't select the Format Type (see attached personattributetype1.png)

      3. Try to create a person with the link:
      http://localhost:8080/openmrs/admin/person/addPerson.htm?viewType=edit

      (see attached personattributetype_3.png)

        Attachments

        1. finalPersonAttributeType.png
          finalPersonAttributeType.png
          58 kB
        2. personattributetype_2.png
          personattributetype_2.png
          211 kB
        3. personattributetype_3.png
          personattributetype_3.png
          165 kB
        4. personattributetype1.png
          personattributetype1.png
          182 kB
        5. trunk4314.png
          trunk4314.png
          55 kB

          Activity

            People

            Assignee:
            harsha89 Harsha Kumara
            Reporter:
            ergaurav2 Gaurav Agrawal
            Designated Committer:
            Rafal Korytkowski
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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