{ "id": "147709", "key": "ALOY-1264", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "17081", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" }, { "id": "17118", "name": "alloy 1.7.19", "archived": false, "released": true, "releaseDate": "2015-10-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-10-16T17:36:50.000+0000", "created": "2015-05-11T18:02:05.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "17115", "name": "alloy 1.7.18", "archived": false, "released": true, "releaseDate": "2015-10-15" } ], "issuelinks": [ { "id": "47667", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "outwardIssue": { "id": "147697", "key": "TIDOC-2193", "fields": { "summary": "Documentation: Wrong SplitWindow example", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "47763", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "147700", "key": "AC-123", "fields": { "summary": "Alloy: Compiler still uses \"Ti.UI.iPad\" namespace for SplitWindow", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "48220", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "148191", "key": "ALOY-1274", "fields": { "summary": "SplitWindow should be mapped to Ti.UI.iOS instead of Ti.UI.iPad", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "updated": "2016-01-20T22: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": "12326", "name": "XML", "description": "View XML and parsing" } ], "description": "There is a new Ti.UI.iOS.SplitWindow class (http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.SplitWindow), which deprecates the old Ti.UI.iPad.SplitWindow class. Currently, Alloy is using the deprecated Ti.UI.iPad.SplitWindow class instead of the new one. If you change the namespace of the SplitWindow element to Ti.UI.iOS, it fails to launch the SplitWindow with the following log output:\r\n{noformat}\r\n[WARN] Can not add a window as a child of a view. Returning\r\n[WARN] Can not add a window as a child of a view. Returning\r\n[DEBUG] masterView property must be set to an object of type TiViewProxy\r\n[WARN] OPEN ABORTED. _handleOpen returned NO\r\n{noformat}\r\n\r\n\r\nTest view: works fine without the ns attribute since it's using the old class.\r\n{noformat}\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n{noformat}", "attachment": [], "flagged": false, "summary": "Support New iOS SplitWindow in XML Markup", "creator": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "bhatfield", "key": "bhatfield", "displayName": "Benjamin Hatfield", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Alloy from master: 4e3bd5181539cc4114575cfde19204b7cc86f2e3\r\nTitanium SDK 4.0.0.RC3\r\niOS 8.2", "closedSprints": [ { "id": 512, "state": "closed", "name": "2015 Sprint 21 Tooling", "startDate": "2015-10-12T21:15:56.572Z", "endDate": "2015-10-24T01:15:00.000Z", "completeDate": "2015-10-26T16:54:05.609Z", "originBoardId": 121 } ], "comment": { "comments": [ { "id": "356287", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "PR: https://github.com/appcelerator/alloy/pull/689", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-29T19:19:27.000+0000", "updated": "2015-06-29T19:19:27.000+0000" }, { "id": "356289", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Can we please get this in the Alloy version for 4.1.0?", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-06-29T19:20:59.000+0000", "updated": "2015-06-29T19:20:59.000+0000" }, { "id": "366987", "author": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "body": "Updated PR to address issues.", "updateAuthor": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "created": "2015-10-16T07:22:01.000+0000", "updated": "2015-10-16T07:22:01.000+0000" }, { "id": "367009", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR merged.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2015-10-16T17:36:50.000+0000", "updated": "2015-10-16T17:36:50.000+0000" }, { "id": "375008", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.3 (15D21)\r\nStudio 4.4.0.201511241829\r\nTi SDK 5.2.0.v20160114021251\r\nAppc NPM \r\nAppc CLI 5.2.0-232\r\nXcode 7.2 (7C68)\r\nNode v0.12.7\r\nJava 1.7.0_80\r\n\r\nNo warnings/errors appear when using the element (with or without the ns chage, since it is now changed to Ti.UI.iOS). Used the provided sample code and removed the ns property.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-01-20T22:59:53.000+0000", "updated": "2016-01-20T22:59:53.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }