{ "id": "138191", "key": "ALOY-1169", "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-10-27T15:42:21.000+0000", "created": "2014-10-16T13:34:28.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "updated": "2018-03-07T22:28: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": [], "description": "Steps:\r\n\r\n1. Build https://github.com/appcelerator/alloy/tree/master/test/apps/models/binding_destroy for mobile web.\r\n\r\nResult: \r\n\"Uncaught No support for Titanium.Database in MobileWeb environment. at / (line 319)\" application error.\r\n\r\nExpected: \r\nSince index.xml declares a mobileweb-specific layout I would expect the sample to work for that platform.", "attachment": [], "flagged": false, "summary": "Test samples/mobileweb: 'Uncaught No support for Titanium.Database' error when running binding_destroy sample", "creator": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tstatler", "key": "tstatler", "displayName": "Tim Statler", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 248, "state": "closed", "name": "2014 Sprint 22 Alloy", "startDate": "2014-10-27T13:32:25.636Z", "endDate": "2014-11-10T13:32:00.000Z", "completeDate": "2014-11-10T15:54:03.714Z", "originBoardId": 124 } ], "comment": { "comments": [ { "id": "329527", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "This is due to the nature of our test apps and how our test framework loads some data from the HarnessTemplate and the rest from the test app. You will get the same error with any of the test apps that include a config.json file which specifies sql as the adapter type.\r\n\r\nTypically you'd prevent these errors by setting the target platform in your tiapp.xml file. Our HarnessTemplate's tiapp targets all platforms, even though some test apps have limitations.\r\n\r\nThe error is thrown prior to UI code being evaluated (when the adapter code is rigged up). Short of changing how the code is generated to perform a platform check, I don't see a way within the test apps to catch such configurations. Because existing app methods prevent this error, I'm not going to make such changes.", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-10-27T15:42:21.000+0000", "updated": "2014-10-27T15:42:21.000+0000" }, { "id": "435335", "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:26.000+0000", "updated": "2018-03-07T22:28:26.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }