{ "id": "173640", "key": "TIMOB-27099", "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": "20791", "name": "Release 8.0.2", "archived": false, "released": true, "releaseDate": "2019-06-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-06-12T22:59:49.000+0000", "created": "2019-05-17T22:33:44.000+0000", "epic": { "id": 173613, "key": "TISTUD-9169", "name": "Fix Debugging", "summary": "Fix miscellaneous debugger issues", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2019-06-12T22:59:53.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "When stepping through during debug an error is logged in console as the variable view refreshes on each step.\r\nThe error is shown only during debug on iOS with 8.1 Ti SDK.\r\nIf we close the variable window the error would not be shown.\r\n\r\nSteps to reproduce:\r\n1. Create a classic/alloy project\r\n2. Add some breakpoints\r\n3. Debug on iOS simulator\r\n4. When the debugger suspends on a breakpoint click on Step in.\r\n\r\nActual Result:\r\nAn error is shown as soon as the debugger suspends for the first time. After step in the same error is shown in console again.\r\nThe error shown is:\r\n{code}\r\n[ERROR] : Blob.file property requested but the Filesystem API was never requested.\r\n{code}\r\n\r\nExpected Result:\r\nNo error should be shown", "attachment": [], "flagged": false, "summary": "iOS Debug: Error in console on variable view refresh during debug", "creator": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS 10.14.3\r\nTi SDK: 8.1.0.v20190510101759\r\nAppc CLI: 7.0.11\r\nNode: 10.13.0\r\nJDK: 1.8.0_144\r\nStudio: 5.2.0.201905141718, 5.1.2.201903111843", "closedSprints": [ { "id": 1141, "state": "closed", "name": "2019 Sprint 12", "startDate": "2019-06-03T22:00:37.435Z", "endDate": "2019-06-14T22:00:00.000Z", "completeDate": "2019-06-15T03:44:20.826Z", "originBoardId": 114 }, { "id": 1136, "state": "closed", "name": "2019 Sprint 11", "startDate": "2019-05-18T17:39:52.830Z", "endDate": "2019-05-31T17:39:00.000Z", "completeDate": "2019-06-04T21:37:11.485Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "448534", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "So I think this is an SDK issue, not a Studio one. I'm not 100% sure of the fix here. Maybe just that the change in proxies on iOS that I did made the file property enumerable when it wasn't before so now it's surfacing the \"error\" whereas before it didn't?\r\n\r\n\r\nIt'd be good to know the exact codepath this is happening to get an idea, but my best guess here is that somewhere down a chain of objects there's a blob property (maybe off a view?) and that blob is a non-file based blob so the file property should return null - and that the error/warning log int he SDK is in fact wrong/expected and benign.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-05-20T19:26:16.000+0000", "updated": "2019-05-20T19:36:48.000+0000" }, { "id": "448615", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "This is actually just a very old error message that should have been removed during the move to TitaniumKit in SDK 8.0.\r\n\r\nIt was guarded by a macro define for when you attempted to get a blob's file property without having the filesystem api being used as well, but that macro can't be used in TitaniumKit, and the message is now displaying when it shouldn't at all.", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-05-23T15:15:36.000+0000", "updated": "2019-05-23T15:15:36.000+0000" }, { "id": "448616", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/10906\r\n8_0_X: https://github.com/appcelerator/titanium_mobile/pull/10907", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-05-23T15:25:09.000+0000", "updated": "2019-05-23T15:25:09.000+0000" }, { "id": "448729", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed. No errors logged during debug.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-29T21:48:07.000+0000", "updated": "2019-05-29T21:48:07.000+0000" }, { "id": "448739", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "merged to 8_0_X, re-running build on master and then will merge", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-05-30T12:11:23.000+0000", "updated": "2019-05-30T12:11:23.000+0000" }, { "id": "448876", "author": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR merged to master. [~cwilliams] please add backport PR for 8_1_X", "updateAuthor": { "name": "kmahalingam", "key": "kmahalingam", "displayName": "Keerthi Mahalingam", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-06-05T22:28:14.000+0000", "updated": "2019-06-05T22:28:14.000+0000" }, { "id": "448997", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "cherry-picked commit b8e5cd24b5c362742420e331644fd4a00c4d8ee2 to 8_1_X branch", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2019-06-11T18:28:27.000+0000", "updated": "2019-06-11T18:28:27.000+0000" }, { "id": "449001", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nMac OS 10.14.3\r\nTi SDK: 8.0.2.v20190605070127, 8.2.0.v20190606083608\r\nAppc CLI: 7.0.11\r\nNode: 10.13.0\r\nJDK: 1.8.0_144\r\nStudio: 5.2.0.201906102148\r\nXCode: 10.2.1\r\n\r\nNot closing the ticket as need to verify the issue on the SDK build from 8_1_X branch as well which is currently failing to build on Jenkins.", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-11T20:16:16.000+0000", "updated": "2019-06-11T20:16:16.000+0000" }, { "id": "449011", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on:\r\nMac OS 10.14.3\r\nTi SDK: 8.0.2.v20190605070127, 8.1.0.v20190611140242, 8.2.0.v20190606083608\r\nAppc CLI: 7.0.11\r\nNode: 10.13.0\r\nJDK: 1.8.0_144\r\nStudio: 5.2.0.201906102148\r\nXCode: 10.2.1", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-11T23:04:30.000+0000", "updated": "2019-06-11T23:04:30.000+0000" }, { "id": "449044", "author": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening to update title", "updateAuthor": { "name": "ssekhri", "key": "ssekhri", "displayName": "Satyam Sekhri", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-12T22:58:50.000+0000", "updated": "2019-06-12T22:58:50.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }