Metadata
- Source
- FLUID-5297
- Type
- Bug
- Priority
- Blocker
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Justin Obara
- Created
2014-03-27T12:06:50.432-0400 - Updated
2024-07-22T09:33:48.192-0400 - Versions
- N/A
- Fixed Versions
-
- 1.5
- Component
-
- Data Binder
Description
If Fluid.js is in strict mode ("use strict"😉 the DataBinding tests fail on the "ApplyHolderChangeRequest - cautious application + invalidation" tests for the "Add array at empty root" test.
The issue appears to be caused by root being set to "ADD" in fluid.model.accessImpl. This falls through to the else condition which attempts to assign a value with array notation. In strict mode these are read only, but it seems like an error either way to be assigning values to "ADD" like this.
Comments
-
Justin Obara commented
2014-04-01T10:07:10.283-0400 Merged pull request ( https://github.com/fluid-project/infusion/pull/486 ) into the project repo at e5a53bb9c87d8624a0ee72274fdee26cd502aeb3