{ "id": "118329", "key": "TIMOB-14807", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": [ { "id": "15856", "description": "Release 3.2.1", "name": "Release 3.2.1", "archived": false, "released": true, "releaseDate": "2014-02-10" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2014-07-01T23:28:11.000+0000", "created": "2013-08-12T18:30:46.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "planning-3.2.0", "qe-3.1.2" ], "versions": [ { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" } ], "issuelinks": [ { "id": "32978", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "121924", "key": "TIMOB-15630", "fields": { "summary": "iOS: Priority not respected for Alloy builds with Liveview enabled", "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": "30933", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "117558", "key": "ALOY-760", "fields": { "summary": "Generate runtime files to Titanium platform-specific folders", "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": "High", "id": "2" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "32027", "type": { "id": "10020", "name": "Depends", "inward": "is dependent of", "outward": "depends on" }, "inwardIssue": { "id": "120229", "key": "TIDOC-1268", "fields": { "summary": "Guides: Update Docs for LiveView improvements", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } }, { "id": "38748", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "132485", "key": "TIMOB-17259", "fields": { "summary": "LiveView, Alloy: changes are applied only to the last opened app", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "pinnamuri", "key": "pinnamuri", "displayName": "Praveen Innamuri", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-07-01T23:28:11.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "h5. Problem description\r\nLiveView changes are applied to all running devices/platforms. However the latest compiled code is applied, potentially generating wrong and unexpected behaviors.\r\n\r\nWhen building an Alloy project on iOS simulator, for example, also the Android emulator is being updated by LiveView (and vice versa).\r\n\r\nIn this case, the compiled code being used is the one optimized for iOS, so likely generating unexpected behaviors on the Android emulator (for example, platform conditionals being applied are the one relative to the iOS platform, not Android).\r\n\r\nh5. Steps to reproduce\r\n1. Grab the sample project code attached\r\n2. Build for Android emulator\r\nResult: App runs, Windows has 'blue' backgroundColor\r\n3. Build for iOS simulator\r\nResult: iOS app runs and has 'gray' backgroundColor. However also the Android app on the emulator is being modified, now displaying the 'gray' backgroundColor too.\r\nThis is not expected as the backgroundColor is defined into platform specific folders.\r\n", "attachment": [ { "id": "41530", "filename": "app.zip", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-12T18:44:01.000+0000", "size": 3823536, "mimeType": "application/zip" } ], "flagged": false, "summary": "LiveView: Alloy: changes are applied to all running devices/platforms, applying the latest compiled code", "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": "Titanium SDK 3.1.2.v20130809141556\r\nAlloy 1.2.0-alpha6\r\nAppcelerator Studio 3.1.2.201308091728\r\nCLI 3.1.2-alpha\r\nNode 0.10.13\r\nLiveView: 0.1.32", "comment": { "comments": [ { "id": "266174", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Given ALOY-760 is resolved for Alloy 1.2.1 (Release 3.1.3), we should try to go ahead and address the issue of updating simulators/devices from multiple platforms together for LiveView in 3.1.3.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-13T05:46:13.000+0000", "updated": "2013-08-13T05:46:13.000+0000" }, { "id": "277604", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~ingo] and [~mxia]\n\nCurrently blocked by TIMOB-15630\nPending PR when it is resolved https://github.com/appcelerator/liveview/pull/62", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-01T00:31:26.000+0000", "updated": "2013-11-01T00:31:26.000+0000" }, { "id": "284274", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~csullivan] Look like the PR got closed but not merged. Should we have another PR to get it merged into 3.2.1?\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-13T21:29:51.000+0000", "updated": "2013-12-13T21:29:51.000+0000" }, { "id": "291273", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Re-opening since the PR was not merged.\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-04T23:31:48.000+0000", "updated": "2014-02-04T23:31:48.000+0000" }, { "id": "294006", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This in fact works as desired in 3.2.1 release.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-02-20T21:39:00.000+0000", "updated": "2014-02-20T21:39:00.000+0000" }, { "id": "309000", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The current (fixed) behavior should be that it rebuilds an iOS version for iOS, and an Android version for Android, and properly displays the right version on the right device.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-06-13T21:14:53.000+0000", "updated": "2014-06-13T21:17:20.000+0000" }, { "id": "311967", "author": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "fcasali", "key": "fcasali", "displayName": "Federico Casali", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-07-01T23:28:11.000+0000", "updated": "2014-07-01T23:28:11.000+0000" } ], "maxResults": 11, "total": 11, "startAt": 0 } } }