Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-3653

MatchMaker dispatches payloads to all settingsHandlers for a selected solution

    Details

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

      Description

      GPII-3651 has revealed that even when the user has no preferences which refer to a particular settingsHandler's settings, the matchMaker still dispatches a payload to it. This can cause an error if the resulting payload violates the schema that the settingsHandler is expecting. This is because many of the capabilitiesTransformations for a settingsHandler block produce output even when there is no input. We should make use of, e.g. the "collectInputPaths" feature of the transformer to cull any settingsHandlers for which the user has not requested any settings.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cli@ocad.ca Cindy Qi Li
                Reporter:
                amb26 Antranig Basman
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: