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

ChangeApplier doesn't handle wildcards in change request paths

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 1.1.2, 1.2beta1, 1.2
    • 1.3
    • Data Binder
    • None

    Description

      It is not possible to request an update to an entire model using a wildcard ("*") as the path in a change request. I believe listeners can support wildcards, but not change requests.

      So for example, you can't have the following scenario:

      var model =

      { foo: "bar", foofer: "barbar", fu: "bat" }

      ;
      var applier = fluid.makeChangeApplier(model);
      var newModelValues =

      { foo: "NewBar", foofer: "NewBarBar", fu: "CATT" }

      ;
      applier.requestChange("*", newModelValues);

      Attachments

        Activity

          People

            anastasia Anastasia Cheetham
            anastasia Anastasia Cheetham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: