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

Required attribute "defaultValue" in openmrs:globalProperty taglib breaks older tags that do not include this attribute

    XMLWordPrintable

    Details

      Description

      With commit 1051, it seems you declare the attribute defaultValue in openmrs:globalProperty to be required. Other files in the system still seem to reference this tag, but without including the defaultValue attribute, hence throwing an exception.

      For example, in /portlets/patientEncounters.jsp, the following lines appear, breaking the whole patientDashboard:

      <option value="<openmrs:globalProperty key="concept.weight"/>"><spring:message code="Patient.weight"/></option>
      <option value="<openmrs:globalProperty key="concept.cd4_count"/>"><spring:message code="Patient.cd4"/></option>

        Attachments

          Activity

            People

            Assignee:
            darius Darius Jazayeri
            Reporter:
            callen Christian Allen [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: