Uploaded image for project: 'Open Concept Lab for OpenMRS'
  1. Open Concept Lab for OpenMRS
  2. OCLOMRS-926

Recursively loading concepts shouldn't try to reload the concept more than once

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When importing a concept into a dictionary, we use the function recursivelyFetchToConcepts() to load all of the concepts and then the mapped concepts for those concepts, etc. However, if a mapped concept is mentioned more than once, we can end up trying to load the same concept into the same dictionary multiple times. What we need to do is track the concepts being fetched an sure that each concept is only loaded a single time.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              jwnasambu Juliet Wamalwa
              Reporter:
              ibacher Ian Bacher
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: