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

Add error-checking for location attribute Regex-Validated Text

    XMLWordPrintable

    Details

    • Complexity:
      Low

      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
          2. location_attribute.avi
            6.48 MB
          3. location_attribute.png
            location_attribute.png
            53 kB
          4. provider_attribute.png
            provider_attribute.png
            57 kB
          5. Provider_AttributeType_SC.png
            Provider_AttributeType_SC.png
            29 kB
          6. screenshot-1.jpg
            screenshot-1.jpg
            99 kB

            Issue Links

              Activity

                People

                Assignee:
                lbat Lukas Breitwieser
                Reporter:
                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