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

Modules using conditional loading should not fail on older versions

    Details

      Description

      We need to add the OpenmrsComponent annotation, which can be used instead of a combination of @Component and @OpenmrsProfile. In addition it will allow us to support HTML-523 in a way that it's still possible to run the module in versions of OpenMRS released before adding OpenmrsProfile and OpenmrsComponent. Those 2 annotations will be simply ignored so any classes annotated with @OpenmrsComponent (those needed in Openmrs 1.10.x) will not be instantiated as beans.

      NOTE: we resigned from OpenmrsComponent in favour of adding its behavior to OpenmrsProfile (see comments below)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raff Rafal Korytkowski
                Reporter:
                raff Rafal Korytkowski
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: