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

BaseCustomizableMetadata setAttribute doesn't work when updating an existing attribute

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.2
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      BaseCustomizableMetadata:104 is the offending line... "attribute.getValueReference()" will throw an exception because the new attribute you are trying to add hasn't been persisted yet...

      (there's a test for this method, but it uses setValueReferenceInternal to set the values of the attributes for testing)

        Attachments

          Activity

            People

            Assignee:
            darius Darius Jazayeri
            Reporter:
            mogoodrich Mark Goodrich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: