FLUID-3507: ChangeApplier doesn't handle wildcards in change request paths

Metadata

Source
FLUID-3507
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Anastasia Cheetham
Reporter
Anastasia Cheetham
Created
2010-02-26T16:20:34.000-0500
Updated
2011-01-20T15:10:53.011-0500
Versions
  1. 1.1.2
  2. 1.2beta1
  3. 1.2
Fixed Versions
  1. 1.3
Component
  1. Data Binder

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);

Comments

  • Antranig Basman commented 2010-08-02T03:10:58.491-0400

    This should now be resolved as part of the FLUID-3680 work - see test cases for examples of wildcard registration, and also for "issuing changes against root"