Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-5248

fluid.transforms.arrayValue are failing when having nested expanders

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      fluid.transforms.arrayValue seem to have problems when having complex objects passed as inputs. It works fine when wrapping simple values in arrays, but when you attempt to pass it an input value that is a transformation that needs further expansion, it fails.

      For example:
      A rule set of:

       {
                  "b": {
                      "transform": {
                          "type": "fluid.transforms.arrayValue",
                          "value": {
                              "transform": {
                                  "outputPath": "value",
                                  "type": "fluid.transforms.linearScale",
                                  "value": 5,
                                  "factor": 0.1
                              }
                          }
                      }
                  }
              }
      

      yields:

      {
        "b": {
          "value": 0.5
        }
      }
      

      Attachments

        Issue Links

          Activity

            People

              antranig Antranig Basman
              kaspermarkus Kasper Galschiot Markus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: