Uploaded image for project: 'Metadata Sharing Module'
  1. Metadata Sharing Module
  2. META-362

Cannot export HTML Forms with Standard Regimens in OpenMRS Platform 2.0+

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: TBD
    • Resolution: Change Request Cancelled
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: Concept Dictionary
    • Labels:
    • Complexity:
      Low
    • Development:

      Description

      When exporting metadata using metadata Sharing Module 2.2.1 and Openmrs 2.0.5 . The following error shows up:
      https://pastebin.com/G6AsYdd91

      The issue is related to the following

      This line of StandardRegimenTagHandlerSupport1_10 references the class RegimenSuggestion:

      attributeDescriptors.add(new AttributeDescriptor("regimenCodes", RegimenSuggestion.class));
      And RegimenSuggestion was removed from Core 2.x (commit here, see TRUNK-14).

      Looks like that a StandardRegimenTagHandlerSupport2_0 should be introduced that stops doing that? the actual error was:

      java.lang.NoClassDefFoundError: org/openmrs/order/RegimenSuggestion
      at org.openmrs.module.htmlformentry.handler.StandardRegimenTagHandlerSupport1_10.createAttributeDescriptors(StandardRegimenTagHandlerSupport1_10.java:23)

      As in: no class definition found for RegimenSuggestion, leading me to check that it indeed was nowhere to be found on Core master (or any 2.x branch). However I saw that it still existed on Core 1.12.x (see here).

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              yadamz Yani Adamz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: