Uploaded image for project: 'App Framework'
  1. App Framework
  2. AF-33

When a module defines an AppFrameworkFactory, this should not overwrite existing apps

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:
      None
    • Complexity:
      Low

      Description

      The core App Framework module defines a org.openmrs.module.appframework.factory.AppConfigurationLoaderFactory which loads Apps and Extensions defined in json files.

      Other modules can create AppFrameworkFactory instances to define additional Apps and Extensions programmatically (e.g. for each bean).

      However currently there is a bug where each AppFrameworkFactory overwrites the Apps and Extensions from previous ones, so there's a "last-loaded-one-wins" bug.

        Attachments

          Activity

            People

            Assignee:
            darius Darius Jazayeri [X] (Inactive)
            Reporter:
            darius Darius Jazayeri [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: