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

Boolean dynamic types do not load correctly in OpenMRS Settings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Incomplete
    • Affects Version/s: OpenMRS 1.9.0
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      Two issues with custom datatype global properties:

      1)
      As I was testing my solution for TRUNK-2732, I noticed the BooleanDatatype global properties don't seem to be displaying in my browser in both trunk and 1.9 - I tried Firefox and Chrome.

      To reproduce:
      Administration > Settings > Concept Map Type Management

      I'd expect the radio buttons to reflect the value stored in the database, but instead none are selected.

      Saving updates the database as expected, but when the page reloads, the radio buttons are cleared.

      2)
      Also, RegexValidatedTextDatatype should check against the pattern supplied in datatypeConfig, but it does not. Instead it stores to the database even if the user entry does not match the pattern.

        Attachments

        1. BooleanDatatype-Save.png
          BooleanDatatype-Save.png
          43 kB
        2. TRUNK-3133.patch
          0.7 kB

          Activity

            People

            • Assignee:
              skathol Spencer Kathol [X] (Inactive)
              Reporter:
              skathol Spencer Kathol [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: