Metadata
- Source
- FLUID-4737
- Type
- Bug
- Priority
- Critical
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Justin Obara
- Created
2012-07-26T14:37:02.700-0400 - Updated
2014-03-03T12:50:20.857-0500 - Versions
-
- 1.4
- Fixed Versions
-
- 1.5
- Component
-
- Renderer
Description
If you use a reference to a portion of the model as the argument for a messagekey in the fluid.renderer.repeat expander, this portion of the model will be corrupted by having all it's key/value pairs converted to objects like key: {value: value}
Attachments
Comments
-
Justin Obara commented
2012-07-26T14:47:52.728-0400 FLUID-4737.patch is a unit test showing the issue. You can also look at the FLUID-4737 branch in my github repo:
https://github.com/jobara/infusion/tree/FLUID-4737 -
Justin Obara commented
2012-07-26T14:52:34.429-0400 In debugging I've tracked it back to resolveArgs in fluidRenderer.js
https://github.com/fluid-project/infusion/blob/master/src/webapp/framework/renderer/js/fluidRenderer.js#L800-806more specifically to it's call to upgradeBound, which is also defined in fluidRenderer.js
https://github.com/fluid-project/infusion/blob/master/src/webapp/framework/renderer/js/fluidRenderer.js#L115-128 -
Justin Obara commented
2012-07-30T10:14:19.195-0400 I tried this with the old style component tree, and had the same problem.
-
Colin Clark commented
2012-08-02T22:01:20.913-0400 Reviewed and pushed to master at revision be0b2ff095fa3ea1b1cb4abd3e38e41462d333d1