{ "id": "121087", "key": "ALOY-846", "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" }, { "id": "15753", "description": "2013 Sprint 22", "name": "2013 Sprint 22", "archived": true, "released": true, "releaseDate": "2013-11-01" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-10-28T17:07:33.000+0000", "created": "2013-10-11T10:05:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "supportTeam" ], "versions": [], "issuelinks": [], "assignee": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-10-16T17:30:19.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": "h2. Description\r\nThe project has as main element a TabGroup, one of the tabs of this TabGroup has a SplitWindow as the next list describes:\r\n\r\n* TabGroup\r\n** Tab1 (1)\r\n*** SplitWindow\r\n**** MasterWindow (a)\r\n**** DetailWindow (b)\r\n** Tab2 (2)\r\n\r\nThe MasterWindow is a menu that opens a new Window in the navigation of the DetailWindow. The first time this happens it works well, the UI loads as it is styled, actually if you go back in the Detailwindow and load another Detailwindow; but if you move to another tab, and then go back to the one with the Splitwindow, the new DetailWindow doesn't load correctly and it loads blank UI.\r\n\r\nNote : Issue is not reproducible with classic titanium.\r\n\r\nh2. Test Case\r\nindex.xml\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nindex.js\r\n{code}\r\nAlloy.Globals.detail_navGroup = $.detail_navGroup;\r\n$.index.open();\r\n{code}\r\ndetailWin.xml\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\ntestwindow.xml\r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\ntestwindow.js\r\n{code}\r\n$.testwin.addEventListener(\"click\",function(){\r\n\tAlloy.Globals.detail_navGroup.open(Alloy.createController('detailWin').getView(), {animated: true});\r\n});\r\n{code}", "attachment": [ { "id": "43186", "filename": "app.js", "author": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-15T09:16:19.000+0000", "size": 1761, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iPad: detailWindow inside TabGroup does not load after switching tabs", "creator": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rsharma", "key": "rsharma", "displayName": "Rupesh Sharma", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPad : iOS 7\r\niPad : iOS 6", "closedSprints": [ { "id": 21, "state": "closed", "name": "2013 Sprint 22", "startDate": "2013-10-21T20:22:56.406Z", "endDate": "2013-11-03T21:23:56.406Z", "completeDate": "2013-11-21T16:47:05.851Z" } ], "comment": { "comments": [ { "id": "276104", "author": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any update on this issue?", "updateAuthor": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T09:40:53.000+0000", "updated": "2013-10-22T09:40:53.000+0000" }, { "id": "276127", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~btran] as is shown in the fix version of the ticket details, this is scheduled to be resolved in this sprint. What other updates are you looking for?", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-22T12:24:04.000+0000", "updated": "2013-10-22T12:24:04.000+0000" }, { "id": "276657", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This ticket is missing TiSDK version and Alloy version.\r\n\r\nAlso, I've tested this with both the 7.0 and 6.1 simulators using the provided Alloy code and it doesn't even show the SplitWindow. I need a test case that actually reproduces the issue, with all files necessary to show the issue, including images and styles. Another consideration is that NavigationGroup is being deprecated and that NavigationWindow should be used in its place.\r\n\r\nWhen the test case has been updated I will revisit. ", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-24T18:51:59.000+0000", "updated": "2013-10-24T19:05:49.000+0000" }, { "id": "276991", "author": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "body": "h3. solution\r\n\r\nThe core of the issue was the element wrapping the in the Alloy example. I modified so that it will accept (as well as ) as a direct child. After that, I modified the sample slightly, like this (notice the wrapping is gone):\r\n\r\n{code:xml}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nThe Alloy version nows behaves as well as the traditional Titanium example.\r\n\r\nh3. testing \r\n\r\nPR: https://github.com/appcelerator/alloy/pull/261\r\ntest app: https://github.com/appcelerator/alloy/tree/master/test/apps/testing/ALOY-846\r\n\r\nThis will not work at all if the TiSDK is greater than 3.1.2, so please use 3.1.2 as the ticket indicates. More details in the \"next steps\" section.\r\n\r\nFunctional test should be performed only on iPad sim or device against the versions noted in this ticket. Please follow [~dcassenti]'s instructions for testing listed in the comment above. It should behave as well, if not better than the traditional Titanium cases. So long as it meets the standards of the traditional Titanium version, the ALOY issue is resolved.\r\n\r\nh3. next steps\r\n\r\n[~dcassenti] you noted that there were still issues that were possible to be created when doing the traditional Titanium example, even though it didn't match the issue at hand. Please log those issues as TIMOB ticket, and then link them as \"related\" to this ticket.\r\n\r\nAlso [~dcassenti], due to changes in iOS 7 and the iOS team's refactor of Windows to support NavigationWindow, this code will not work at all in Titanium SDK 3.1.3 or greater. Can you please log this as a ticket as well, and suggest that the originator of this ticket consider refactoring to use NavigationWindow, which should alleviate future compatibility issues. Please link that ticket as \"related\" to this one as well.\r\n", "updateAuthor": { "name": "tlukasavage", "key": "tlukasavage", "displayName": "Tony Lukasavage", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-10-28T17:07:33.000+0000", "updated": "2013-10-28T17:07:33.000+0000" } ], "maxResults": 15, "total": 15, "startAt": 0 } } }