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

Reselect visit attribute values on error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: OpenMRS 1.9.0
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Medium

      Description

      When you are saving a Visit that has at least one VisitAttributeType, the values of the attributes that the user entried should be repopulated into the fields when redisplaying the field with an error.

      To reporduce:
      Create 2 VisitAttributeTypes of boolean
      Set the types to 1 min, 1 max
      Try to create a new visit but don't select the value for one of them. Neither yes/no/true/false is checked when the form is shown again.

      (didn't test whether string values are repopulated or not)

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  raff Rafal Korytkowski
                  Reporter:
                  bwolfe Ben Wolfe
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: