{ "id": "115450", "key": "TIMOB-14101", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "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": "15492", "description": "2013 Sprint 12 JS", "name": "2013 Sprint 12 JS", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15110", "description": "2013 Sprint 12", "name": "2013 Sprint 12", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-06-10T22:56:25.000+0000", "created": "2013-06-04T17:04:56.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [ { "id": "29501", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "115725", "key": "AC-1851", "fields": { "summary": "Liveview not working with iOS Simulator", "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" } }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "29480", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "115708", "key": "TIMOB-14163", "fields": { "summary": "LiveView: iOS: App prevented from launching on iPhone simulator", "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 } } } } ], "assignee": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2013-12-03T20:36:02.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": "13103", "name": "CLI", "description": "Node-based command line interface" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "When project is recompiled while using liveview Users app.js in Resources dir is being overwritten with liveview.js\r\n\r\nTest Case:\r\n1. $ ti build -p ios --liveview\r\n2. $ ti build -p ios --liveview\r\n3. $ cat app.js\r\n\r\nExpected Result:\r\n User's app.js should not be modified\r\n\r\nActual Result:\r\n User's app.js is overwritten with contents of liveview.js", "attachment": [], "flagged": false, "summary": "LiveView: app.js in Resources Dir overwritten on recompile", "creator": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "257027", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "My test case is a little different:\n\n# $ ti build -p ios\n# $ ti build -p ios --liveview\n# $ cat app.js\n\nIt appears that the first build does a symlink, and then the liveview overwrites the contents of the symlink, overwriting app.js:\n\nbuild (no LiveView)\n{code}\nIngos-MacBook-Pro:LVDefault4 ingo$ cd build/iphone/build/Debug-iphonesimulator/LVDefault4.app\nIngos-MacBook-Pro:LVDefault4.app ingo$ ls -la\ntotal 22256\ndrwxr-xr-x 19 ingo staff 646 Jun 10 14:54 .\ndrwxr-xr-x 4 ingo staff 136 Jun 10 14:54 ..\n-rw-r--r-- 1 ingo staff 570121 Jun 10 14:53 Default-568h@2x.png\n-rw-r--r-- 1 ingo staff 517419 Jun 10 14:53 Default-Landscape.png\n-rw-r--r-- 1 ingo staff 551670 Jun 10 14:53 Default-Portrait.png\n-rw-r--r-- 1 ingo staff 114262 Jun 10 14:53 Default.png\n-rw-r--r-- 1 ingo staff 380255 Jun 10 14:53 Default@2x.png\n-rw-r--r-- 1 ingo staff 1209 Jun 10 14:53 Info.plist\nlrwxr-xr-x 1 ingo staff 86 Jun 10 14:53 KS_nav_ui.png -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/KS_nav_ui.png\nlrwxr-xr-x 1 ingo staff 89 Jun 10 14:53 KS_nav_views.png -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/KS_nav_views.png\n-rwxr-xr-x 1 ingo staff 9181596 Jun 10 14:54 LVDefault4\n-rw-r--r-- 1 ingo staff 8 Jun 10 14:53 PkgInfo\nlrwxr-xr-x 1 ingo staff 79 Jun 10 14:53 app.js -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/app.js\n-rw-r--r-- 1 ingo staff 4275 Jun 10 14:53 appicon.png\n-rw-r--r-- 1 ingo staff 335 Jun 10 14:53 debugger.plist\ndrwxr-xr-x 5 ingo staff 170 Jun 10 14:53 modules\n-rw-r--r-- 1 ingo staff 335 Jun 10 14:53 profiler.plist\n-rw-r--r-- 1 ingo staff 190 Jun 10 14:53 stylesheet.plist\n-rw-r--r-- 1 ingo staff 28632 Jun 10 14:53 ti.cloud.js\n{code}\n\nbuild (LiveView from clean):\n{code}\nIngos-MacBook-Pro:Debug-iphonesimulator ingo$ cd LVDefault4.app\nIngos-MacBook-Pro:LVDefault4.app ingo$ ls -la\ntotal 22288\ndrwxr-xr-x 20 ingo staff 680 Jun 10 14:50 .\ndrwxr-xr-x 4 ingo staff 136 Jun 10 14:50 ..\n-rw-r--r-- 1 ingo staff 570121 Jun 10 14:50 Default-568h@2x.png\n-rw-r--r-- 1 ingo staff 517419 Jun 10 14:50 Default-Landscape.png\n-rw-r--r-- 1 ingo staff 551670 Jun 10 14:50 Default-Portrait.png\n-rw-r--r-- 1 ingo staff 114262 Jun 10 14:50 Default.png\n-rw-r--r-- 1 ingo staff 380255 Jun 10 14:50 Default@2x.png\n-rw-r--r-- 1 ingo staff 1209 Jun 10 14:50 Info.plist\nlrwxr-xr-x 1 ingo staff 86 Jun 10 14:50 KS_nav_ui.png -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/KS_nav_ui.png\nlrwxr-xr-x 1 ingo staff 89 Jun 10 14:50 KS_nav_views.png -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/KS_nav_views.png\n-rwxr-xr-x 1 ingo staff 9181596 Jun 10 14:50 LVDefault4\n-rw-r--r-- 1 ingo staff 8 Jun 10 14:50 PkgInfo\nlrwxr-xr-x 1 ingo staff 79 Jun 10 14:50 _app.js -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/app.js\n-rw-r--r-- 1 ingo staff 13026 Jun 10 14:50 app.js\n-rw-r--r-- 1 ingo staff 4275 Jun 10 14:50 appicon.png\n-rw-r--r-- 1 ingo staff 335 Jun 10 14:50 debugger.plist\ndrwxr-xr-x 5 ingo staff 170 Jun 10 14:50 modules\n-rw-r--r-- 1 ingo staff 335 Jun 10 14:50 profiler.plist\n-rw-r--r-- 1 ingo staff 190 Jun 10 14:50 stylesheet.plist\n-rw-r--r-- 1 ingo staff 28632 Jun 10 14:50 ti.cloud.js\n{code}\n\nbuild (regular, then LiveView):\n{code}\nIngos-MacBook-Pro:LVDefault4 ingo$ cd build/iphone/build/Debug-iphonesimulator/LVDefault4.app\nIngos-MacBook-Pro:LVDefault4.app ingo$ ls -la\ntotal 22264\ndrwxr-xr-x 20 ingo staff 680 Jun 10 15:00 .\ndrwxr-xr-x 4 ingo staff 136 Jun 10 14:54 ..\n-rw-r--r-- 1 ingo staff 570121 Jun 10 15:00 Default-568h@2x.png\n-rw-r--r-- 1 ingo staff 517419 Jun 10 15:00 Default-Landscape.png\n-rw-r--r-- 1 ingo staff 551670 Jun 10 15:00 Default-Portrait.png\n-rw-r--r-- 1 ingo staff 114262 Jun 10 15:00 Default.png\n-rw-r--r-- 1 ingo staff 380255 Jun 10 15:00 Default@2x.png\n-rw-r--r-- 1 ingo staff 1209 Jun 10 14:53 Info.plist\nlrwxr-xr-x 1 ingo staff 86 Jun 10 15:00 KS_nav_ui.png -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/KS_nav_ui.png\nlrwxr-xr-x 1 ingo staff 89 Jun 10 15:00 KS_nav_views.png -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/KS_nav_views.png\n-rwxr-xr-x 1 ingo staff 9181596 Jun 10 14:54 LVDefault4\n-rw-r--r-- 1 ingo staff 8 Jun 10 14:53 PkgInfo\nlrwxr-xr-x 1 ingo staff 79 Jun 10 15:00 _app.js -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/app.js\nlrwxr-xr-x 1 ingo staff 79 Jun 10 14:53 app.js -> /Users/ingo/Documents/Appcelerator_Studio_Workspace/LVDefault4/Resources/app.js\n-rw-r--r-- 1 ingo staff 4275 Jun 10 15:00 appicon.png\n-rw-r--r-- 1 ingo staff 335 Jun 10 14:53 debugger.plist\ndrwxr-xr-x 5 ingo staff 170 Jun 10 14:53 modules\n-rw-r--r-- 1 ingo staff 335 Jun 10 14:53 profiler.plist\n-rw-r--r-- 1 ingo staff 190 Jun 10 15:00 stylesheet.plist\n-rw-r--r-- 1 ingo staff 28632 Jun 10 15:00 ti.cloud.js\n{code}", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-10T22:00:46.000+0000", "updated": "2013-06-10T22:00:46.000+0000" }, { "id": "257040", "author": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FIXED in [MASTER]: https://github.com/appcelerator/liveview/commit/c9da9495de2173e10a6f8b3f8b59869d1e931ea6", "updateAuthor": { "name": "csullivan", "key": "csullivan", "displayName": "Christian Sullivan", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-10T22:44:46.000+0000", "updated": "2013-06-10T22:44:46.000+0000" }, { "id": "257047", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed fixed using SDK 3.1.1.v20130531163723 on iOS simulator with simple Titanium classic 2-tabbed app.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-10T22:56:25.000+0000", "updated": "2013-06-10T22:56:25.000+0000" }, { "id": "266550", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing.", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-14T22:47:00.000+0000", "updated": "2013-08-14T22:47:00.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }