{ "id": "172639", "key": "TIMOB-26580", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" }, { "id": "20429", "name": "Release 7.5.1", "archived": false, "released": true, "releaseDate": "2019-02-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-01-08T19:04:59.000+0000", "created": "2018-11-16T22:42:12.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20238", "description": "", "name": "Release 7.5.0", "archived": false, "released": true, "releaseDate": "2018-11-15" } ], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2019-01-09T20:51:26.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "ListView templates have a bug that prevents support for native modules.\r\n\r\n{code:js}\r\nvar template = {\r\n childTemplates: [\r\n { \r\n type: ', \r\n bindId: '',\r\n properties: { ... }\r\n }\r\n ]\r\n};\r\n{code}", "attachment": [], "flagged": false, "summary": "Android: ListView templates not compatible with native modules", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1093, "state": "closed", "name": "2018 Sprint 23", "startDate": "2018-11-04T23:35:52.006Z", "endDate": "2018-11-18T23:35:00.000Z", "completeDate": "2018-11-19T05:30:34.338Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "443712", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10479", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-16T22:44:52.000+0000", "updated": "2018-11-16T22:44:52.000+0000" }, { "id": "444024", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nPR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-11-28T23:55:49.000+0000", "updated": "2018-11-28T23:55:49.000+0000" }, { "id": "444245", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10509", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-04T21:22:24.000+0000", "updated": "2018-12-04T21:22:24.000+0000" }, { "id": "444270", "author": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "body": "still having this problem after test with the latest SDK 7.5.1.v20181204143821\r\n\r\n[ERROR] : TiExceptionHandler: (main) [2537,4852] ti:/listview.js:54\r\n[ERROR] : TiExceptionHandler: \t\t\t\t\tchildProxy = creationFunction(creationProperties);\r\n[ERROR] : TiExceptionHandler: ^\r\n[ERROR] : TiExceptionHandler: TypeError: creationFunction is not a function\r\n[ERROR] : TiExceptionHandler: at processChildTemplates (ti:/listview.js:54:19)\r\n[ERROR] : TiExceptionHandler: at processChildTemplates (ti:/listview.js:65:4)\r\n[ERROR] : TiExceptionHandler: at UI.createListView (ti:/listview.js:20:6)\r\n[ERROR] : TiExceptionHandler: at UIWrapper.invoker [as createListView] (ti:/invoker.js:101:19)\r\n[ERROR] : TiExceptionHandler: at new Controller (eval at Module._compile (app://app.js:728:13), :121:1415)\r\n[ERROR] : TiExceptionHandler: at Object.exports.createController (eval at Module._compile (app://app.js:728:13), :341:9)\r\n[ERROR] : TiExceptionHandler: at View.getBrandCollection (eval at Module._compile (app://app.js:728:13), :308:18)\r\n[ERROR] : TiExceptionHandler: at View.value (ti:/events.js:49:21)\r\n[ERROR] : TiExceptionHandler: at View.value (ti:/events.js:101:19)\r\n[ERROR] : TiExceptionHandler:\r\n[ERROR] : TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)\r\n[ERROR] : TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:63)\r\n[ERROR] : TiExceptionHandler: org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:971)\r\n[ERROR] : TiExceptionHandler: org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1196)\r\n[ERROR] : TiExceptionHandler: org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:401)\r\n[ERROR] : TiExceptionHandler: android.os.Handler.dispatchMessage(Handler.java:102)\r\n[ERROR] : TiExceptionHandler: android.os.Looper.loop(Looper.java:164)\r\n[ERROR] : TiExceptionHandler: android.app.ActivityThread.main(ActivityThread.java:6494)\r\n[ERROR] : TiExceptionHandler: java.lang.reflect.Method.invoke(Native Method)\r\n[ERROR] : TiExceptionHandler: com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)\r\n[ERROR] : V8Exception: Exception occurred at ti:/listview.js:54: Uncaught TypeError: creationFunction is not a function", "updateAuthor": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "created": "2018-12-05T13:08:46.000+0000", "updated": "2018-12-05T13:09:07.000+0000" }, { "id": "444295", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening. I am able to reproduce the error in the above comment.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-06T00:02:00.000+0000", "updated": "2018-12-06T00:02:00.000+0000" }, { "id": "444337", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10517", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-07T19:27:30.000+0000", "updated": "2018-12-07T19:27:30.000+0000" }, { "id": "444429", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed for master. PR for master merged.\r\nWaiting for backport.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-10T17:16:19.000+0000", "updated": "2018-12-10T17:44:00.000+0000" }, { "id": "444434", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "7_5_X: https://github.com/appcelerator/titanium_mobile/pull/10526", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-10T19:40:08.000+0000", "updated": "2018-12-10T19:40:08.000+0000" }, { "id": "444435", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR passed & merged for backport.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-10T19:53:46.000+0000", "updated": "2018-12-10T19:53:46.000+0000" }, { "id": "444443", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix in SDK 7.5.1.v20181210141225 & 8.0.0.v20181210140414.\r\nClosing.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-12-10T23:12:35.000+0000", "updated": "2018-12-10T23:12:35.000+0000" }, { "id": "444633", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "For me it is fixed in 7.5.1.v20181210141225 (7.5.1.RC) but with 8.0.0.v20181214080710 (latest 8 at the moment) I'll end up with this error again:\r\n{code}\r\n[ERROR] TiExceptionHandler: (main) [1754,1754] ti:/listview.js:60\r\n[ERROR] TiExceptionHandler: childProxy = creationFunction(creationProperties);\r\n[ERROR] TiExceptionHandler: ^\r\n[ERROR] TiExceptionHandler: TypeError: creationFunction is not a function\r\n[ERROR] TiExceptionHandler: at processChildTemplates (ti:/listview.js:60:19)\r\n[ERROR] TiExceptionHandler: at UI.createListView (ti:/listview.js:22:6)\r\n[ERROR] TiExceptionHandler: at UIWrapper.invoker [as createListView] (ti:/invoker.js:105:19)\r\n[ERROR] TiExceptionHandler: at new Controller (/alloy/controllers/friends.js:528:8796)\r\n[ERROR] TiExceptionHandler: at Object.exports.createController (/alloy.js:339:8)\r\n[ERROR] TiExceptionHandler: at new Controller (/alloy/controllers/main.js:846:25529)\r\n[ERROR] TiExceptionHandler: at Object.exports.createController (/alloy.js:339:8)\r\n[ERROR] TiExceptionHandler: at new Controller (/alloy/controllers/index.js:330:1887)\r\n[ERROR] TiExceptionHandler: at Object.exports.createController (/alloy.js:339:8)\r\n[ERROR] TiExceptionHandler: at /app.js:148:7\r\n[ERROR] TiExceptionHandler:\r\n[ERROR] TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[ERROR] TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:162)\r\n[ERROR] TiExceptionHandler: org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:207)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:135)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:190)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:185)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:780)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:176)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:174)\r\n[ERROR] TiExceptionHandler: android.app.Activity.performCreate(Activity.java:6673)\r\n[ERROR] V8Exception: Exception occurred at ti:/listview.js:60: Uncaught TypeError: creationFunction is not a function\r\n{code}\r\n\r\nusing {{}} inside a ListView", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-12-16T13:58:43.000+0000", "updated": "2018-12-16T13:58:43.000+0000" }, { "id": "444922", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "With 8.0.0.v20181030074154:\r\n\r\n{code}\r\n[ERROR] TiExceptionHandler: (main) [1525,1525] ti:/module.js:303\r\n[ERROR] TiExceptionHandler: throw new Error('Requested module not found: ' + request); // TODO Set 'code' property to 'MODULE_NOT_FOUND' to match Node?\r\n[ERROR] TiExceptionHandler: ^\r\n[ERROR] TiExceptionHandler: Error: Requested module not found: /alloy/widgets/AvImageview.ImageView/controllers/widget\r\n[ERROR] TiExceptionHandler: at Module.require (ti:/module.js:303:8)\r\n[ERROR] TiExceptionHandler: at lookup (ti:/listview.js:98:29)\r\n[ERROR] TiExceptionHandler: at processChildTemplates (ti:/listview.js:50:28)\r\n[ERROR] TiExceptionHandler: at UI.createListView (ti:/listview.js:20:6)\r\n[ERROR] TiExceptionHandler: at UIWrapper.invoker [as createListView] (ti:/invoker.js:101:19)\r\n[ERROR] TiExceptionHandler: at new Controller (/alloy/controllers/friends.js:528:8822)\r\n[ERROR] TiExceptionHandler: at Object.exports.createController (/alloy.js:339:8)\r\n[ERROR] TiExceptionHandler: at new Controller (/alloy/controllers/main.js:910:26869)\r\n[ERROR] TiExceptionHandler: at Object.exports.createController (/alloy.js:339:8)\r\n[ERROR] TiExceptionHandler: at new Controller (/alloy/controllers/index.js:330:1924)\r\n[ERROR] TiExceptionHandler:\r\n[ERROR] TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Runtime.nativeRunModule(Native Method)\r\n[ERROR] TiExceptionHandler: org.appcelerator.kroll.runtime.v8.V8Runtime.doRunModule(V8Runtime.java:162)\r\n[ERROR] TiExceptionHandler: org.appcelerator.kroll.KrollRuntime.runModule(KrollRuntime.java:247)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiLaunchActivity.loadActivityScript(TiLaunchActivity.java:135)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiLaunchActivity.windowCreated(TiLaunchActivity.java:190)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiRootActivity.windowCreated(TiRootActivity.java:175)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiBaseActivity.onCreate(TiBaseActivity.java:676)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiLaunchActivity.onCreate(TiLaunchActivity.java:176)\r\n[ERROR] TiExceptionHandler: org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:164)\r\n[ERROR] TiExceptionHandler: android.app.Activity.performCreate(Activity.java:6673)\r\n[ERROR] V8Exception: Exception occurred at ti:/module.js:303: Uncaught Error: Requested module not found: /alloy/widgets/AvImageview.ImageView/controllers/widget\r\n{code}\r\n\r\n7.5.1.v20181210141225 still works fine.", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-01-02T15:28:41.000+0000", "updated": "2019-01-02T15:28:41.000+0000" }, { "id": "444925", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael], I am not able to reproduce it. I tried it using the SDK above & also with the latest 8.0.0 SDK.\r\nMy index.xml below:\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-02T18:10:05.000+0000", "updated": "2019-01-02T18:10:05.000+0000" }, { "id": "444931", "author": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "body": "Oh, I'm sorry. I didn't pay attention to the numbers after I've download the SDK from the build server! It threw me back to October after some seconds.\r\n\r\nBut with 8.0.0.v20181214080710 I still have the error when extending your example to a custom view module (ti.animation in my case). Again, fine with 7.5.1.v20181210141225, broken in 8.0.0.v20181214080710 (the creationFunction error). Full example: https://migaweb.de/listview_test.zip with all modules. ", "updateAuthor": { "name": "michael", "key": "michael", "displayName": "Michael Gangolf", "active": true, "timeZone": "Europe/Berlin" }, "created": "2019-01-02T20:21:54.000+0000", "updated": "2019-01-02T20:21:54.000+0000" }, { "id": "444937", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~michael], I can reproduce the issue it with {{ti.animation}} & latest 8.0.0 SDK.\r\nI will reopen the ticket for now.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-02T21:35:20.000+0000", "updated": "2019-01-02T21:35:20.000+0000" }, { "id": "444938", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening for now as the issue is seen with {{ti.animation}}. ", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-02T21:36:15.000+0000", "updated": "2019-01-02T21:36:15.000+0000" }, { "id": "445052", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10577", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-08T00:41:26.000+0000", "updated": "2019-01-08T00:41:26.000+0000" }, { "id": "445084", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nWaiting for merge to be ready.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-08T19:04:54.000+0000", "updated": "2019-01-08T19:04:54.000+0000" }, { "id": "445101", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master PR merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-08T20:51:13.000+0000", "updated": "2019-01-08T20:51:13.000+0000" }, { "id": "445106", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10586", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-01-08T22:09:04.000+0000", "updated": "2019-01-08T22:09:04.000+0000" } ], "maxResults": 22, "total": 22, "startAt": 0 } } }