{ "id": "79710", "key": "TIMOB-5136", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-05-02T22:03:50.000+0000", "created": "2011-08-26T16:16:45.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "instanceof" ], "versions": [ { "id": "11331", "description": "", "name": "Release 1.8.0", "archived": true, "released": true, "releaseDate": "2011-10-31" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-05-02T22:03:50.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": "1.see it in KS, when the app is first launched (adb logcat)\r\n2. the failure line is \r\n\r\nTi.API.info(\"instanceof check, should be false => \" + (Ti.UI.createView() instanceof Ti.UI.createWindow())); ", "attachment": [], "flagged": false, "summary": "Android: \"instanceof check\" fails", "creator": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "goes back to 1.7.2 at least, all tested devices and emulators", "comment": { "comments": [ { "id": "177731", "author": { "name": "b790676", "key": "b790676", "displayName": "b790676", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Just ran into this on 1.8.0.1. Why are these instanceof() checks still there if they [no longer/don't] work?", "updateAuthor": { "name": "b790676", "key": "b790676", "displayName": "b790676", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-12-30T19:20:07.000+0000", "updated": "2011-12-30T19:20:07.000+0000" }, { "id": "195430", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "I have a Date object and when I do: if (MyObj instance of Date == false) {} the answer is always false when it is a date.", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2012-05-21T05:23:44.000+0000", "updated": "2012-05-21T05:23:44.000+0000" }, { "id": "231252", "author": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "body": "This just got me again in another app.. Took me 2 days to find it as 3.0 doesn't seem to report when you throw an error! Why isn't this supported in Android it's a standard part of JS, and works great on iOS.. :(", "updateAuthor": { "name": "mark.henderson@snagr.co.uk", "key": "mark.henderson@snagr.co.uk", "displayName": "Mark Henderson", "active": true, "timeZone": "Europe/London" }, "created": "2012-12-13T18:58:29.000+0000", "updated": "2012-12-13T18:58:29.000+0000" }, { "id": "231253", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "bump for scheduling", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-12-13T19:10:21.000+0000", "updated": "2012-12-13T19:10:21.000+0000" }, { "id": "312209", "author": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I am unable to reproduce the above issue using KitchenSink from master branch with following environment:\r\n\r\nMac :10.9.3\r\nAppcelerator Studio, build: 3.3.0.201406271159\r\nSDK :3.3.0.v20140702175712\r\nacs-1.0.15\r\nalloy@1.4.0-rc3\r\nnpm-1.3.2\r\ntitanium@3.3.0-rc4\r\ntitanium-code-processor-1.1.1\r\n\r\n", "updateAuthor": { "name": "dpandey", "key": "dpandey", "displayName": "Deepti Pandey", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-07-03T07:48:40.000+0000", "updated": "2014-07-03T11:07:44.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }