{ "id": "63595", "key": "TIMOB-2963", "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-06-08T19:49:25.000+0000", "created": "2011-04-15T03:33:50.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "api" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-08T19:49:25.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": "{html}

As discussed with stramer, who recommended this ticket be\r\ncreated.

\r\n

Adding windows to windows causes an exception on android, as\r\ndoing so it not allowed. iOS currently tolerates it, however.

\r\n

This causes problems for some iOS developers who attempt to\r\nadapt their app for android, discover that it crashes at some\r\nwin1.add(win2) code and wrongly believe android is at fault (see\r\n\r\nthis Q&A post).

\r\n

Hence, request that adding windows to windows throw an exception\r\non iOS to avoid confusion.

{html}", "attachment": [], "flagged": false, "summary": "iOS: Disallow adding windows to windows", "creator": { "name": "hal", "key": "hal", "displayName": "hal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "environment": null, "comment": { "comments": [ { "id": "209729", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Still valid 2.2.0.014b86f. Fits into the widget/viewGroup/etc. discussion about general {{add}} behavior.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T13:27:42.000+0000", "updated": "2012-07-26T13:27:42.000+0000" }, { "id": "421552", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to time passed and lack of input or progress in the past few years.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-08T19:49:25.000+0000", "updated": "2017-06-08T19:49:25.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }