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

Add error-checking for location attribute Regex-Validated Text

    XMLWordPrintable

Details

    Description

      If the Regex field is empty, the location attribute field (with invalid regex) is not displayed when editing existing locations.
      How to recreate this...
      1.) Create a new location attribute, choose "Regex-Validated Text" and leave the field blank.
      2.) Edit a pre-existing location; notice the new attribute field is not shown.
      3.) Create a new location; notice the new attribute field is displayed.

      This happens with OpenMRS Version: 1.9.7 Build 60bd9b, and on the web demo, Version: 1.9.3 Build f535e9.

      Gliffy Diagrams

        Attachments

          1. analysis.pdf
            191 kB
            Lukas Breitwieser
          2. location_attribute.avi
            6.48 MB
            James Arbaugh
          3. location_attribute.png
            53 kB
            Lukas Breitwieser
          4. provider_attribute.png
            57 kB
            Lukas Breitwieser
          5. Provider_AttributeType_SC.png
            29 kB
            Ujwala Nanavare
          6. screenshot-1.jpg
            99 kB
            Ujwala Nanavare

          Issue Links

            Activity

              People

                lbat Lukas Breitwieser
                arbaughj James Arbaugh
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 4 hours
                    4h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 hours
                    4h