{ "id": "113804", "key": "ALOY-659", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-08-01T01:19:48.000+0000", "created": "2013-05-03T23:11:06.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "15477", "description": "Alloy 1.1.2", "name": "Alloy 1.1.2", "archived": false, "released": true, "releaseDate": "2013-05-02" }, { "id": "15476", "description": "Alloy 1.1.1", "name": "Alloy 1.1.1", "archived": false, "released": true, "releaseDate": "2013-04-19" }, { "id": "14634", "description": "Alloy 1.0.0", "name": "Alloy 1.0.0", "archived": false, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-10-11T23:14:26.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": "12329", "name": "Runtime", "description": "Generic bucket for uncategorized runtime issues" }, { "id": "13604", "name": "Tooling", "description": "Items related to Alloy tooling and workflow" } ], "description": "h5. Problem description\r\n\r\nWhen setting a platform specific Controller .js file with no associated platform specific .xml , App does not run with bad error message.\r\n\r\nSee sample attached\r\n\r\n", "attachment": [ { "id": "38108", "filename": "ALOY-659_output.log", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-04T05:10:39.000+0000", "size": 19486, "mimeType": "text/plain" }, { "id": "38101", "filename": "controller_iosFolder.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-03T23:11:06.000+0000", "size": 1147, "mimeType": "application/zip" }, { "id": "38109", "filename": "Screen Shot 2013-05-03 at 10.07.32 PM.png", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-04T05:10:39.000+0000", "size": 63155, "mimeType": "image/png" } ], "flagged": false, "summary": "Bad behavior when setting a platform specific 'controller' .JS with no platform specific associated .XML", "creator": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Alloy 1.X versions\r\nTi SDK 3.1.0.GA\r\nTitanium Studio 3.1.0.201304151600", "comment": { "comments": [ { "id": "250203", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~fcasali] can you add the actual error and console output (debug level) to the ticket description?", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-04T02:06:57.000+0000", "updated": "2013-05-04T02:06:57.000+0000" }, { "id": "250222", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Attaching output log and screenshot", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-04T05:10:39.000+0000", "updated": "2013-05-04T05:10:39.000+0000" }, { "id": "264353", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/alloy/pull/201\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-659\r\n\r\nRun the app on all supported platforms. Make sure it compiles successfully. When the app runs, it should also open an alert dialog with the name of the current platform.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-01T01:19:48.000+0000", "updated": "2013-08-01T01:19:48.000+0000" }, { "id": "271166", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "On 1.2.2-beta it's also buggy in the inverse case (which is more troubling) - when you have a platform specific view but a single controller. Tested this with your Navigation Window test app - just pulled win.js from the controllers/ios into controllers. Seems to work fine with latest 1.3.0 Alloy from Github. It would be great if these fixes can be merged into production Alloy ASAP (i.e. for 3.1.3), since it's *really* hard to maintain DRY code when we have to keep multiple JS files due to this bug. Thanks!", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-15T10:36:01.000+0000", "updated": "2013-09-15T10:36:01.000+0000" }, { "id": "271168", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mokesmokes] It's unlikely that this will be put into 1.2.2 since that version is already in its release review process. I can see how far along we are, but no promises that this will be able to get into Alloy any quicker at the moment.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-15T14:48:31.000+0000", "updated": "2013-09-15T14:48:31.000+0000" }, { "id": "271170", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Thanks Tony. Then any practical suggestion for cases such as when the top view elements differ between Android (e.g. Window) and iOS (e.g. NavigationWindow)? Is Alloy 1.3.0 stable enough for use, or do we really need to double up on the controller code due to this bug (that would be quite painful to maintain), or do you have another practical suggestion?\r\nThanks again.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-15T15:45:21.000+0000", "updated": "2013-09-15T15:45:21.000+0000" }, { "id": "271173", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "BTW, regarding my previous comment: apparently 1.3.0 (coupled with 3.1.3RC) works fine on the iOS simulators (AFAICT), however misbehaves on actual iOS 6.1 devices. Have found this to be the case on both my app and your Navigation Window test app - HTH.", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-09-15T20:43:29.000+0000", "updated": "2013-09-15T20:43:29.000+0000" }, { "id": "271174", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~mokesmokes] This is a result of TIMOB-14884. The 1.3.0 branch will not work properly on ios devices until that ticket is resolved. At that point, when Alloy 1.3.0 is released, it will require TiSDK 3.2.0+.", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-09-15T21:23:17.000+0000", "updated": "2013-09-15T21:23:17.000+0000" }, { "id": "274858", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified as fixed. \n\nAlloy 1.3.0\nCLI 3.2.0\nTiSDK 3.2.0.v20131010163242\nTitanium Studio 3.1.4\n\nClosing.", "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-11T22:54:46.000+0000", "updated": "2013-10-11T22:54:46.000+0000" }, { "id": "274860", "author": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "body": "Federico - was this fixed for both cases? i.e. 2 JS files and one XML file, and 2 XML files and one JS file?\r\nBoth didn't work.\r\nThanks", "updateAuthor": { "name": "mokesmokes", "key": "mokesmokes", "displayName": "Mark Mokryn", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2013-10-11T23:14:26.000+0000", "updated": "2013-10-11T23:14:26.000+0000" } ], "maxResults": 10, "total": 10, "startAt": 0 } } }