Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1474] Regression: Model data binding no longer works

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2016-03-30T09:10:15.000+0000
Affected Version/salloy 1.8.0
Fix Version/salloy 1.8.3, Release 5.2.2
ComponentsModels
Labelsn/a
ReporterFokke Zandbergen
AssigneeFokke Zandbergen
Created2016-03-28T07:31:47.000+0000
Updated2016-03-30T09:10:21.000+0000

Description

Attachments

FileDateSize
34a92edc-f508-11e5-9f4f-983ee6e29837.png2016-03-29T06:47:35.000+000044028
Simulator Screen Shot 29 Mar 2016 08.44.50.png2016-03-29T06:47:15.000+000053892

Comments

  1. Fokke Zandbergen 2016-03-28

    PR: https://github.com/appcelerator/alloy/pull/776
  2. Feon Sua Xin Miao 2016-03-28

    PR merged.
  3. Chee Kiat Ng 2016-03-29

    See github PR on how to test this. Or [~fokkezb] can you please re-iterate on this ticket so that QE can be clear on how to test?
  4. Fokke Zandbergen 2016-03-29

    To test: 1. Run the [ALOY-1474 test app](https://github.com/appcelerator/alloy/pull/776/files#diff-8d56410f2d743d7d011f718b9f306f9cR1) with Alloy 1.8.2 to verify (only) model data binding is broken and shows the placeholders: !Simulator Screen Shot 29 Mar 2016 08.44.50.png|thumbnail! 2. Run the same test app after the PR merge and verify it works again: !34a92edc-f508-11e5-9f4f-983ee6e29837.png|thumbnail!
  5. Fokke Zandbergen 2016-03-29

    Two related SO questions to keep an eye on: * http://stackoverflow.com/questions/36268665/krollwrapper-ids-filling-all-text-for-all-data-binding-in-alloy-1-8-2 * http://stackoverflow.com/questions/36274177/alloy-data-binding-error-after-alloy-1-8-upgrade
  6. Eric Wieber 2016-03-29

    Verified fixed, using: MacOS 10.11.4 (15E65) Studio 4.5.0.201602170821 Ti SDK 5.2.2.v20160328141205 Appc NPM 4.2.4 Appc CLI 5.2.2-1 Alloy 1.8.3 Xcode 7.3 (7D175) Model data binding when not using a transform function is working as expected. Tested using the provided test app as well as custom apps with model data binding. Using a transform function will be tested with ALOY-1368

JSON Source