{ "id": "119435", "key": "ALOY-816", "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": "15403", "description": "Alloy 1.3.0", "name": "Alloy 1.3.0", "archived": false, "released": true, "releaseDate": "2013-12-20" }, { "id": "15670", "description": "2013 Sprint 18", "name": "2013 Sprint 18", "archived": true, "released": true, "releaseDate": "2013-09-06" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-09-04T15:31:37.000+0000", "created": "2013-09-04T02:41:01.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "15602", "description": "Alloy 1.2.2", "name": "Alloy 1.2.2", "archived": false, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-14T22:25:09.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": "# Add a deprecation warning to any usage of Ti.UI.iPhone.NavigationGroup if the TiSDK is >= 3.1.3\r\n# Throw compile error if a developer attempts to use the Ti.UI.iOS.NavigationWindow markup in an app using TiSDK version < 3.1.3", "attachment": [], "flagged": false, "summary": "Add deprecation for Ti.UI.iPhone.NavigationGroup, minimum version validation for Ti.UI.iOS.NavigationWindow", "creator": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "269446", "author": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "body": "Shouldn't the Ti.UI.iOS.NavigationGroup in 2. be Ti.UI.iOS.NavigationWindow?", "updateAuthor": { "name": "timanrebel", "key": "timanrebel", "displayName": "Timan Rebel", "active": true, "timeZone": "Europe/London" }, "created": "2013-09-04T08:09:14.000+0000", "updated": "2013-09-04T08:09:14.000+0000" }, { "id": "269461", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~timanrebel] yep, fixed.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-04T13:04:40.000+0000", "updated": "2013-09-04T13:04:40.000+0000" }, { "id": "269479", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/238\r\ntest apps:\r\n# https://github.com/appcelerator/alloy/tree/master/test/apps/ui/navgroup\r\n# https://github.com/appcelerator/alloy/tree/master/test/apps/ui/navwindow\r\n\r\nFunctional tests (ios only):\r\n\r\nh3. ui/navgroup with TiSDK < 3.1.3\r\n\r\n# Run the ui/navgroup with a TiSDK version < 3.1.3\r\n# Ensure that you get no warnings during compile and that it runs successfully\r\n\r\nh3. ui/navwindow with TiSDK < 3.1.3\r\n\r\n# Run the ui/navwindow with a TiSDK version < 3.1.3\r\n# Ensure that you get a compile time error that looks like this:\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [app.tss] global style processing...\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"ios/index.xml\"\r\n[ERROR] Ti.UI.iOS.NavigationWindow (line 2) requires Titanium 3.1.3+\r\n[ERROR] Alloy compiler failed\r\n{code}\r\n\r\nh3. ui/navgroup with TiSDK >= 3.1.3\r\n\r\n# Switch ui/navgroup to use Titanium SDK version >= 3.1.3 and run the app\r\n# You should see a warning message like this:\r\n{code}\r\n[INFO] ----- MVC GENERATION -----\r\n[INFO] [app.tss] global style processing...\r\n[INFO] [index.xml] view processing...\r\n[INFO] style: \"index.tss\"\r\n[INFO] view: \"ios/index.xml\"\r\n[WARN] Ti.UI.iPhone.NavigationGroup (line 3) is deprecated as of Titanium 3.1.3\r\n[WARN] Use Ti.UI.iOS.NavigationWindow instead\r\n{code}\r\n# The app should still run as expected even with the warning message during compile\r\n\r\nh3. ui/navwindow with TiSDK >= 3.1.3\r\n\r\n# Switch to ui/navwindow with Titanium SDK version >= 3.1.3 and run the app\r\n# The app should run without error, executing with the new NavigationWindow", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-04T15:31:37.000+0000", "updated": "2013-09-04T15:31:37.000+0000" }, { "id": "275067", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified working as expected.\n\nTiSDK 3.2.0.v20131013140318 \nAlloy 1.3.0\nCLI 3.2.0\n\nClosing.\n\n", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-14T22:25:01.000+0000", "updated": "2013-10-14T22:25:01.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }