Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1158] Alloy Model/Collection tests need to be updated for supporting also Backbone 1.1.2

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2014-10-24T14:56:28.000+0000
Affected Version/sAlloy 1.6.0
Fix Version/sAlloy 1.6.0
ComponentsTesting
Labelsn/a
ReporterFederico Casali
AssigneeFederico Casali
Created2014-10-08T19:05:55.000+0000
Updated2015-03-25T18:57:39.000+0000

Description

Comments

  1. Tim Poulsen 2014-10-15

    PR: https://github.com/appcelerator/alloy/pull/590 I've updated the following projects, adding the commented-out collection-extension code as originally included in test/apps/models/todo. samples/todo test/apps/models/binding_dashboard test/apps/models/binding_destroy test/apps/models/binding_scrollableview test/apps/models/binding_tableview test/apps/models/journal test/apps/models/login test/apps/models/properties test/apps/models/sql_idAttribute test/apps/models/sql_keywords test/apps/models/sql_no_migrations test/apps/models/sql_preload test/apps/models/sql_queries test/apps/models/sql_queries test/apps/testing/ALOY\-1000 test/apps/testing/ALOY\-1033 test/apps/testing/ALOY\-1080 test/apps/testing/ALOY\-1127 test/apps/testing/ALOY\-440 test/apps/testing/ALOY\-440c test/apps/testing/ALOY\-443 test/apps/testing/ALOY\-503 test/apps/testing/ALOY\-594 test/apps/testing/ALOY\-609 test/apps/testing/ALOY\-644 test/apps/testing/ALOY\-691 test/apps/testing/ALOY\-753 test/apps/testing/ALOY\-817 test/apps/testing/ALOY\-829 test/apps/testing/ALOY\-874 test/apps/testing/ALOY\-895 test/apps/testing/ALOY\-900 test/apps/testing/ALOY\-913 test/apps/testing/ALOY\-932 test/apps/widgets/models/widgets/alloy.datatable Functional test would be to run any of those projects. All should run as-is with Backbone 0.9.2. Then, edit the model definition of the selected test app(s) and edit the config.json file to add the key "backbone":"1.1.2" and run the test app(s) again. They should run with Backbone 1.1.2.
  2. Feon Sua Xin Miao 2014-10-17

    PR merged.
  3. Tim Poulsen 2014-10-23

    Reopen to backport to 1_6_X branch
  4. Feon Sua Xin Miao 2014-10-24

    1_6_X: https://github.com/appcelerator/alloy/pull/603
  5. Tim Poulsen 2014-10-24

    PR merged
  6. Eric Wieber 2015-03-25

    Verified fixed using: Titanium SDK 4.0.0.v20150323131014 Studio 4.0.0.201503231407 Appc NPM: 0.3.34 Appc CLI 0.2.187 Alloy 1.6.0-alpha Samples/tests run as expected with "backbone":"1.1.2" set in config.js.

JSON Source