{ "id": "115872", "key": "TIMOB-14202", "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": null, "resolutiondate": null, "created": "2013-06-13T11:43:52.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.1.1", "qe-testadded" ], "versions": [ { "id": "15478", "description": "Release 3.1.1", "name": "Release 3.1.1", "archived": true, "released": true, "releaseDate": "2013-06-17" }, { "id": "15971", "description": "Release 3.2.3", "name": "Release 3.2.3", "archived": false, "released": true, "releaseDate": "2014-04-30" } ], "issuelinks": [], "assignee": null, "updated": "2018-02-28T20:04:00.000+0000", "status": { "description": "This issue was once resolved, but the resolution was deemed incorrect. From here issues are either marked assigned or resolved.", "name": "Reopened", "id": "4", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "Field service app doesn't work with enabled liveview.\r\n\r\nSteps to reproduce:\r\n1. Import the field service app to the project explorer.\r\n2. Enable liveview and run the app on iOS simulator.\r\n3. Click 'login' button.\r\n4. An alert is dispalyed with the message,\"Would you like to generate a demo user?\"\r\n5. Make changes in the code and change the alert message. Save the app.\r\n\r\nExpected:\r\nThe changes should reflect in the simulator.\r\n\r\nActual:\r\nAn script Error is observed in console and the app hangs at login button. Error logs are as below:\r\n\r\nERROR] : Script Error {\r\n[ERROR] : backtrace = \"#0 loginClick() at :22\";\r\n[ERROR] : line = 10;\r\n[ERROR] : message = \"'undefined' is not an object (evaluating 'Ti.UI.ActivityIndicatorStyle.DARK')\";\r\n[ERROR] : name = TypeError;\r\n[ERROR] : sourceId = 200756288;\r\n[ERROR] : }\r\n\r\n", "attachment": [], "flagged": false, "summary": "LiveView: Field service app doesn't work with LiveView", "creator": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "amittal", "key": "amittal", "displayName": "Anshu Mittal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Tested with: \r\nSDK:3.1.1.v20130612114553\r\nAppcelerator Studio: 3.1.1.201306121633\r\nOS: OSX 10.7.5\r\nDevice:iPhoneSimulator v 6.1\r\nXcode: 4.6\r\nalloy: 1.1.3-cr\r\nacs: 1.0.2\r\nnpm: 1.2.14\r\ntitanium: 3.1.1-cr\r\ntitanium-code-processor: 1.0.1-cr4\r\nliveView: 0.1.24", "comment": { "comments": [ { "id": "257908", "author": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I was able to reproduce the issue, using:\nAppcelerator Studio, build: 3.1.1.201306131423\nTitanium SDK, build: 3.1.1.v20130613185544\ncom.appcelerator.titanium.liveview.core_1.0.0.1370907521/node_modules/liveview/hook\niPad 6.1 simulator\n{code}\n[ERROR] : Script Error {\n[ERROR] : backtrace = \"#0 loginClick() at :22\";\n[ERROR] : line = 10;\n[ERROR] : message = \"'undefined' is not an object (evaluating 'Ti.UI.ActivityIndicatorStyle.DARK')\";\n[ERROR] : name = TypeError;\n[ERROR] : sourceId = 376042464;\n[ERROR] : }\n{code}", "updateAuthor": { "name": "oromero", "key": "oromero", "displayName": "Olga Romero", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-06-14T17:24:53.000+0000", "updated": "2013-06-14T17:24:53.000+0000" }, { "id": "264039", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Here is a trace I see when clicking on the Login button without entering a usernam/password:\n\n{code}\n[LiveView] Client connected\n[INFO] : [object ComAppceleratorApmModule] loaded\n[INFO] : [object ComSoastaTouchtestModule] loaded\n[INFO] : [LiveView] Error Evaluating /data/setup.js @ Line: 131\n[ERROR] : TypeError: 'null' is not an object (evaluating 'Alloy.createWidget')\n[ERROR] : File: /data/setup.js\n[ERROR] : Line: 131\n[ERROR] : SourceId: 342257024\n[ERROR] : Backtrace:\n[ERROR] : #0 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/27D57553-41DC-4C4C-8DAB-11A2F6869224/Ti.FieldService.app/app.js:627\n[ERROR] : #1 () at file://localhost/Users/mxia/Library/Application%20Support/iPhone%20Simulator/6.0/Applications/27D57553-41DC-4C4C-8DAB-11A2F6869224/Ti.FieldService.app/app.js:492\n[ERROR] : #2 () at :32\n[ERROR] : Script Error {\n[ERROR] : backtrace = \"#0 () at :0\";\n[ERROR] : line = 33;\n[ERROR] : message = \"'undefined' is not a function (evaluating 'setup.loadData()')\";\n[ERROR] : name = TypeError;\n[ERROR] : sourceId = 342255008;\n[ERROR] : }\n{code}\n\nThe configuration is as followed:\n\nAppcelerator Studio, build: 3.1.2.201307261628\nTitanium SDK 3.1.2.v2013072316031\nLiveView 0.1.29\nAlloy 1.2.0-alpha\nOSX 10.8.3\niPad Simulator 6.0\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-30T22:42:51.000+0000", "updated": "2013-07-30T22:42:51.000+0000" }, { "id": "264799", "author": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Marking this resolved now we fixed the Field Service app for references to Alloy global variables.\r\n", "updateAuthor": { "name": "mxia", "key": "mxia", "displayName": "Michael Xia", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-08-02T21:00:03.000+0000", "updated": "2013-08-02T21:00:03.000+0000" }, { "id": "284425", "author": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Verified fix with environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312151544\r\nSDK: 3.2.0.v20131215211321\r\nalloy: 1.3.0-cr\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr3\r\ntitanium-code-processor: 1.1.0-cr2\r\nMac OSX 10.9 Mavericks\r\n\r\nChanges are now reflected in simulator when launching Field service app with liveview enabled.", "updateAuthor": { "name": "nmittal", "key": "nmittal", "displayName": "Neha Mittal", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2013-12-16T11:24:29.000+0000", "updated": "2013-12-16T11:24:29.000+0000" }, { "id": "300954", "author": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "body": "Issue is reproducible using the following environment:\r\n\r\nTested on:\r\nDevice : Google Nexus 5, Android Version: 4.4.2\r\nSDK: 3.2.3.v20140414150917\r\nLiveView: 1.0.4\r\nCLI version : 3.2.3-alpha3\r\nOS : MAC OSX 10.9.2\r\nAlloy: 1.3.1\r\nACS: 1.0.14\r\nnpm:1.3.2\r\nAppcelerator Studio, build: 3.2.3.201404102002\r\ntitanium-code-processor: 1.1.1-alpha\r\nXCode : 5.1 \r\n\r\nError occurs as\r\n[INFO] : [LiveView] Error Evaluating app.js @ Line: undefined\r\n[ERROR] : ReferenceError: parts is not defined\r\n[ERROR] : File: app.js\r\n[ERROR] : Line: undefined\r\n[ERROR] : SourceId: undefined\r\n[ERROR] : Backtrace:\r\n[ERROR] : undefined", "updateAuthor": { "name": "pmishra", "key": "pmishra", "displayName": "Paras Mishra", "active": true, "timeZone": "Asia/Kolkata" }, "created": "2014-04-15T13:06:57.000+0000", "updated": "2014-04-15T13:06:57.000+0000" }, { "id": "301855", "body": "This issue was previously scheduled to be worked on in more than one sprint:\r\n* 'Release 3.1.2' (on board '3.1.X Triage')\r\n* 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage')\r\n* 'iOS/Android' (on board '3.1.0 Planning')\r\n* 'Tooling' (on board '3.2.0 Planning')\r\n\r\nStarting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration\r\n\r\nThis issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage').\r\n\r\nIf this is incorrect, please update the issue accordingly.\r\n\r\nThis comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.", "created": "2014-04-21T15:32:17.000+0000", "updated": "2014-04-21T15:32:17.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }