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

BaseCustomizableData setAttribute fail on minOccurs and maxOccurs

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Should
    • Resolution: Fixed
    • Core 2.1.0
    • Core 2.2.0
    • Data Model

    Description

      Issue created from TODO on lines 93 and 94 of BaseCustomizableData.java and BaseCustomizableMetadata.java

      /**

      • Convenience method that voids all existing attributes of the given type, and sets this new one.
      • TODO fail if minOccurs > 1
      • TODO decide whether this should require maxOccurs=1
      • @should void the attribute if an attribute with same attribute type already exists and the maxOccurs is set to 1
        *
      • @param attribute
        */

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                lehone Lenya Hope
                mitchellbot James Mitchell
                Lenya Hope Lenya Hope
                Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Time Spent - 4 hours Remaining Estimate - 7 hours
                    7h
                    Logged:
                    Time Spent - 4 hours Remaining Estimate - 7 hours
                    4h