{ "id": "125867", "key": "ALOY-948", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2014-08-01T00:28:07.000+0000", "created": "2014-02-05T00:39:59.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "qe-3.2.1" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-03-07T22:28:28.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": [], "description": "h5. Problem description\r\nIf enabling LiveView, the Alloy runtime tests implemented for most of the samples available (https://github.com/appcelerator/alloy/tree/master/test/apps) are not being triggered correctly and in most cases nothing is displayed when the app is started.\r\n\r\nIn the case of Alloy advanced themes sample https://github.com/appcelerator/alloy/tree/master/test/apps/advanced/themes an Application Error is also displayed when the runtime specs are required if the user click on a button. \r\n\r\nSee screenshot and error log. \r\n\r\nh6. iOS log\r\n{code}\r\n\r\n[WARN] : New layout set while view [object progressFront] animating: Will relayout after animation.\r\n[ERROR] : Script Error {\r\n[WARN] : New layout set while view [object progressFront] animating: Will relayout after animation.\r\n[WARN] : New layout set while view [object progressFront] animating: Will relayout after animation.\r\n[ERROR] : backtrace = \"#0 () at file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js:638\\n#1 () at file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js:502\\n#2 () at :93\\n#3 testPatience() at :6\";\r\n[ERROR] : line = 608;\r\n[ERROR] : message = \"'undefined' is not a function (evaluating '_src.replace(/\\\\/\\\\/(.*)$/gm, '')')\";\r\n[ERROR] : name = TypeError;\r\n[ERROR] : sourceId = 309385824;\r\n[ERROR] : sourceURL = \"file:///Users/fcasali/Library/Application%20Support/iPhone%20Simulator/7.0.3/Applications/AB68B2B3-7394-42E3-9D8B-BED50A2C721B/Harness.app/app.js\";\r\n[ERROR] : }\r\n[WARN] : New layout set while view [object progressFront] animating: Will relayout after animation.\r\n{code}\r\n\r\nh6. Android log\r\n{code}\r\n\r\n[ERROR] : TiExceptionHandler: (main) [3430,3430] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [0,3430] - In app.js:608,16\r\n[ERROR] : TiExceptionHandler: (main) [2,3432] - Message: Uncaught TypeError: Object false has no method 'replace'\r\n[ERROR] : TiExceptionHandler: (main) [0,3432] - Source: _src.replace(/\\/\\/(.*)$/gm, '').replace(/\\n/g, '') +\r\n[WARN] : IdleConnectionHandler: Removing a connection that never existed!\r\n[ERROR] : TiHttpClient: (TiHttpClient-12) [2,3434] HTTP Error (org.apache.http.client.HttpResponseException): Not Found\r\n[ERROR] : TiHttpClient: org.apache.http.client.HttpResponseException: Not Found\r\n[ERROR] : TiHttpClient: \tat ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:258)\r\n[ERROR] : TiHttpClient: \tat ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:217)\r\n[ERROR] : TiHttpClient: \tat org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:657)\r\n[ERROR] : TiHttpClient: \tat org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:637)\r\n[ERROR] : TiHttpClient: \tat ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1287)\r\n[ERROR] : TiHttpClient: \tat java.lang.Thread.run(Thread.java:841)\r\n[ERROR] : V8Exception: Exception occurred at app.js:608: Uncaught TypeError: Object false has no method 'replace'\r\n{code}\r\n", "attachment": [ { "id": "45597", "filename": "device-2014-02-04-162647.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T00:39:59.000+0000", "size": 63157, "mimeType": "image/png" }, { "id": "45598", "filename": "Screen Shot 2014-02-04 at 4.23.09 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-05T00:39:59.000+0000", "size": 46594, "mimeType": "image/png" } ], "flagged": false, "summary": "Alloy: LiveView: runtime tests not working if LiveView is enabled", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "TiSDK 3.2.1.v20140203174850 and 3.2.0.GA\r\nAlloy 1.3.1-cr2 and 1.3.0.GA\r\niOS 7 and Android 4.3", "comment": { "comments": [ { "id": "316562", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "Resolving as invalid because a) Ti.include is deprecated and not recommended for Alloy, and b) running the samples with the tests included injects additional code which doesn't represent a realistic situation for use with LiveView.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-08-01T00:28:07.000+0000", "updated": "2014-08-01T00:28:07.000+0000" }, { "id": "435352", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid. If this is incorrect, please reopen.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-03-07T22:28:28.000+0000", "updated": "2018-03-07T22:28:28.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }