Details
-
Type:
Sub-task
-
Status: Closed
-
Priority:
Should
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Feb 2012 Bug Fixing Sprint, Core 2.1.0
-
Component/s: None
-
Complexity:Low
Description
Issues from TODO
Lines 92 and 93 of BaseCustomizableData.java
Link: https://github.com/openmrs/openmrs-core/blob/179938bd8c9187b327e00e8eafc8ef568b009dac/api/src/main/java/org/openmrs/BaseCustomizableData.java#L92
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