{ "id": "114399", "key": "TIMOB-13866", "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": "15576", "description": "2013 Sprint 16", "name": "2013 Sprint 16", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15579", "description": "2013 Sprint 16 Tooling", "name": "2013 Sprint 16 Tooling", "archived": true, "released": true, "releaseDate": "2013-08-12" }, { "id": "15479", "description": "Release 3.1.2", "name": "Release 3.1.2", "archived": true, "released": true, "releaseDate": "2013-07-31" }, { "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-08-08T22:01:30.000+0000", "created": "2013-05-15T17:16:48.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-closed-3.2.0", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" } ], "issuelinks": [ { "id": "33767", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "123734", "key": "TIMOB-15992", "fields": { "summary": "LiveView: File Server Unavailable - \"File Server Unavailable\" runtime error is thrown when launching FSA in iPad 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 } } } }, { "id": "33745", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "123663", "key": "TISTUD-5894", "fields": { "summary": "Samples: FSA - If you import FSA, then you will get \"App guid must be UUID.v4 formatted\"", "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": "30425", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "114445", "key": "TIMOB-13878", "fields": { "summary": "LiveView doesn't work with FSA 1.0 on iOS simulator when an generated Alloy file in Resources/ is edited", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "28803", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "114126", "key": "TIMOB-13807", "fields": { "summary": "iOS: Expose internal Ti.App._restart() mechanism", "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": "5", "description": "The sub-task of the issue", "name": "Sub-task", "subtask": true } } } } ], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-25T01:06:39.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": "10206", "name": "iOS", "description": "iOS Platform" }, { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "Steps to reproduce:\r\n\r\n1. From Studio launch FSA 1.0 on iPad Simulator with Live View enabled.\r\n\r\n2. Using Studio edit line 75 of /Field-Service-App/app/styles/my-service-outlets/placard.tss by changing \"left: 0\" to \"left: 30\".\r\n\r\n3. iOS Simulator shows black screen and Studio Console displays this error:\r\n\r\n[LiveView] Alloy recompile initiated\r\n[LiveView] Error loading watching file { [Error: ENOENT, readdir '/Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/iphone/service-outlet-detail']\r\n errno: 34,\r\n code: 'ENOENT',\r\n path: '/Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/iphone/service-outlet-detail' }\r\n[LiveView] Reload Triggered\r\n\t-REASON: File Changed\r\n -FILE: /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/app/styles/my-service-outlets/placard.tss\r\n[INFO] : [LiveView] Reloading App\r\n[INFO] : Ti.FieldService/1.0 (3.1.1.d356cff)\r\n[ERROR] : Error loading path: file://localhost/Users/matt/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, Error Domain=NSCocoaErrorDomain Code=260 \"The operation couldn’t be completed. (Cocoa error 260.)\" UserInfo=0x16344790 {NSFilePath=/Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, NSUnderlyingError=0x16347940 \"The operation couldn’t be completed. No such file or directory\"}\r\n[ERROR] : Script Error Could not find the file app.js\r\n", "attachment": [ { "id": "38676", "filename": "Ti.FieldService_2013-05-16-093339_Matts-MacBook-Pro.crash.plist", "author": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T19:12:48.000+0000", "size": 65092, "mimeType": "application/octet-stream" } ], "flagged": false, "summary": "LiveView doesn't work with FSA 1.0 on iOS simulator when an Alloy .tss file is edited", "creator": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Studio 3.1.1.201305141618\r\nLive View v0.1.20", "comment": { "comments": [ { "id": "252205", "author": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "body": "More data: app.js is a symlink to Resources/liveview.js which does not exist.\n\n$ ls -la \"/Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js\"\nlrwxr-xr-x 1 matt staff 106 May 15 14:49 /Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js -> /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/liveview.js\n\n$ ls -la /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/liveview.js\nls: /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/liveview.js: No such file or directory\n\nAnd here is the error output from the Live View log:\n\n{noformat}\nLiveView] Alloy recompile initiated\n[LiveView] Reload Triggered\n\t-REASON: File Changed\n -FILE: /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/app/styles/my-service-outlets/placard.tss\n[INFO] [LiveView] Reloading App\n[INFO] Ti.FieldService/1.0 (3.1.1.d356cff)\n[DEBUG] Analytics is enabled = YES\n[DEBUG] Loading: /Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, Resource: app_js\n[LiveView] Reload Triggered\n\t-REASON: File Changed\n -FILE: /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/alloy/widgets/com.appcelerator.globalTimer/controllers/widget.js\n[LiveView] Reload Triggered\n\t-REASON: File Changed\n -FILE: /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/alloy/widgets/com.appcelerator.timer/controllers/widget.js\n[ERROR] Error loading path: file://localhost/Users/matt/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, Error Domain=NSCocoaErrorDomain Code=260 \"The operation couldn’t be completed. (Cocoa error 260.)\" UserInfo=0xb89d090 {NSFilePath=/Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, NSUnderlyingError=0xb855070 \"The operation couldn’t be completed. No such file or directory\"}\n[ERROR] Script Error Could not find the file app.js\n[DEBUG] Backtrace: (null)\n[DEBUG] Application booted in 13.919950 ms\n[INFO] [LiveView] Reloading App\n[INFO] [LiveView] Reloading App\n[INFO] Ti.FieldService/1.0 (3.1.1.d356cff)\n[DEBUG] Analytics is enabled = YES\n[DEBUG] Loading: /Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, Resource: app_js\n[ERROR] Error loading path: file://localhost/Users/matt/Library/Application%20Support/iPhone%20Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, Error Domain=NSCocoaErrorDomain Code=260 \"The operation couldn’t be completed. (Cocoa error 260.)\" UserInfo=0xad5f9b0 {NSFilePath=/Users/matt/Library/Application Support/iPhone Simulator/6.1/Applications/EBB05FC5-16C3-4506-ACC8-AEBD6E958816/Ti.FieldService.app/app.js, NSUnderlyingError=0xad5f6b0 \"The operation couldn’t be completed. No such file or directory\"}\n[ERROR] Script Error Could not find the file app.js\n[DEBUG] Backtrace: (null)\n[DEBUG] Application booted in 10.091007 ms\n-- End simulator log ---------------------------------------------------------\n[ERROR] An error occurred running the iOS Simulator\n[ERROR] \n[ERROR] Project failed to build after 10m 15s 364ms\n{noformat}", "updateAuthor": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-15T22:03:09.000+0000", "updated": "2013-05-15T22:03:09.000+0000" }, { "id": "252286", "author": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The problem is with the iOS restart mechanism TIMOB-13807. Here are the relevant iOS Simulator logs. Reassigning to Blain - Blain can you take a look please?\n\n{noformat}\nMay 16 09:33:39 Matts-MacBook-Pro com.apple.launchd.peruser.501[142] (UIKitApplication:com.appcelerator.fieldservicered[0x68de][23421]): Job appears to have crashed: Segmentation fault: 11\nMay 16 09:33:39 Matts-MacBook-Pro.local backboardd[23239]: Application 'UIKitApplication:com.appcelerator.fieldservicered[0x68de]' exited abnormally with signal 11: Segmentation fault: 11\nMay 16 09:33:39 Matts-MacBook-Pro.local ReportCrash[23452]: Saved crash report for Ti.FieldService[23421] version ??? to /Users/matt/Library/Logs/DiagnosticReports/Ti.FieldService_2013-05-16-093339_Matts-MacBook-Pro.crash\n{noformat}", "updateAuthor": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-16T16:36:52.000+0000", "updated": "2013-05-16T16:36:52.000+0000" }, { "id": "252629", "author": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is the crash report: [^Ti.FieldService_2013-05-16-093339_Matts-MacBook-Pro.crash.plist]", "updateAuthor": { "name": "mlangston", "key": "mlangston", "displayName": "Matt Langston", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-05-17T19:13:44.000+0000", "updated": "2013-05-17T19:13:44.000+0000" }, { "id": "265662", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Tested on Appcelerator Studio, build: 3.1.2.201308062218 + LiveView 1.0.0.201308071910 (including LiveView 0.1.32), and the Field Service app is reloading fine with LiveView on iOS simulator when the specific line is edited, so marking this as resolved for 3.1.2.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-08T22:01:30.000+0000", "updated": "2013-08-08T22:01:30.000+0000" }, { "id": "284488", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified after editing a .tss file, I was able to launch the FSA app to the ipad simulator.\n\nTested on:\n\nAppcelerator Studio, build: 3.2.0.201312151544\nSDK build: 3.2.0.v20131216064236\nCLI: 3.2.0-cr3\nAlloy: 1.3.0-cr\nLiveView: 1.0.0\nXcode: 5.0.2\nDevice: ipad simulator retina (7.0.3)", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-12-16T18:45:10.000+0000", "updated": "2013-12-16T18:45:10.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }