FLUID-6248: ValueMapper inputPaths are not collected from defaultInput values

Metadata

Source
FLUID-6248
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Kasper Galschiot Markus
Reporter
Kasper Galschiot Markus
Created
2018-02-14T15:12:36.051-0500
Updated
2018-06-07T06:56:10.919-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. Model Transformation System

Description

While working on GPII-1230, I found that the collectInputPaths functionality of the valuemapper does not collect the paths of any nested transformations inside "defaultInput".So a transformation like this:

"dictionaryEnabled": {
    "transform": {
        "type": "fluid.transforms.valueMapper",
        "match": [{
            "inputValue": {
                "dictionaryEnabled": true
            },
            "outputValue": true
        }],
        "noMatch": {
            "outputValue": false
        },
        "defaultInput": {
            "transform": {
                "type": "fluid.transforms.arrayToSetMembership",
                "inputPath": "http://registry\\.gpii\\.net/common/supportTool",
                "options": {
                    "dictionary": "dictionaryEnabled"
                }
            }
        }
    }

does not find the input path: "http://registry\\.gpii\\.net/common/supportTool"