Initial value of bind of two-way bind of a bind is wrong in JS
- Dominant language
- ActionScript
- Stars
- 380
- Forks
- 120
- PR merge metrics
- No merged PRs in 30d
Description
In the attached example, the initial value next to "Text:" is "XX" when it should be "X:falseX", in JS. Works fine in SWF and Flex. No exception in JS.
The issue only happens when "A" / "B" are using binds of "isA" / "isB", and there is a two-way bind between "A" and "B", and "A.text" is used in the "Text:" label
[TestTwoWayBindOfBind.mxml.txt](https://github.com/apache/royale-asjs/files/7448645/TestTwoWayBindOfBind.mxml.txt)
.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the attached TestTwoWayBindOfBind.mxml example and run it in the JS target, comparing the initial label value with the SWF and Flex results. Trace initialization for the binds between A, B, isA, and isB; done means the JS label initially shows "X:falseX" without an exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100