{ "id": "130594", "key": "AC-967", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2014-07-04T21:45:09.000+0000", "created": "2014-05-17T16:14:14.000+0000", "labels": [ "api" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:37:17.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": "14545", "name": "Documentation" } ], "description": "When I ran the app on the console it show the following message: V8Exception: Exception occurred at undefined:1: Uncaught SyntaxError: Unexpected token u\r\n\r\nWas working fine before the new update. ", "attachment": [ { "id": "48180", "filename": "Screen Shot 2014-05-17 at 12.08.24 PM.png", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-17T16:14:14.000+0000", "size": 137483, "mimeType": "image/png" }, { "id": "48182", "filename": "Screen Shot 2014-05-18 at 1.27.36 AM.png", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:33:49.000+0000", "size": 76387, "mimeType": "image/png" }, { "id": "48183", "filename": "Screen Shot 2014-05-18 at 1.27.53 AM.png", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:33:49.000+0000", "size": 157586, "mimeType": "image/png" }, { "id": "48184", "filename": "Screen Shot 2014-05-18 at 1.31.48 AM.png", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:39:30.000+0000", "size": 41064, "mimeType": "image/png" }, { "id": "48185", "filename": "Screen Shot 2014-05-18 at 2.44.34 AM.png", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T06:49:51.000+0000", "size": 82891, "mimeType": "image/png" }, { "id": "48186", "filename": "Screen Shot 2014-05-18 at 3.27.38 AM.png", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T07:28:57.000+0000", "size": 81854, "mimeType": "image/png" } ], "flagged": false, "summary": "Service not assigning a valid token", "creator": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "environment": "Production", "comment": { "comments": [ { "id": "305421", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "The errors occurs when launch the app:\r\n\r\n{\"code\":200,\"status\":\"ok\",\"method_name\":\"queryCustomObjects\",\"page\":1,\"per_page\":100,\"total_pages\":0,\"total_results\":0}}\r\n\r\nYou would notice that returns 200 but the custom objects returns zero results and not token.\r\n\r\nThanks in advance for any help my clients can deliver orders to their customers.\r\n\r\nWilliam\r\n\r\n", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T04:54:20.000+0000", "updated": "2014-05-18T04:54:20.000+0000" }, { "id": "305423", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Please provide a test case to reproduce this error. We have not been able to reproduce the issue based on limited information and we are unable to help you due to lack of information.", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-18T05:06:42.000+0000", "updated": "2014-05-18T05:06:42.000+0000" }, { "id": "305425", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "Tap on the app, the app proceed to login and then make the call to the custom objects and get the following results:\r\n{\r\n \"meta\": {\r\n \"code\": 200,\r\n \"status\": \"ok\",\r\n \"method_name\": \"queryCustomObjects\",\r\n \"page\": 1,\r\n \"per_page\": 100,\r\n \"total_pages\": 0,\r\n \"total_results\": 0\r\n },\r\n \"response\": {\r\n \"settings\": [\r\n \r\n ]\r\n }\r\n}\r\n\r\nJust notice that settings is returning zero entries.", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:26:07.000+0000", "updated": "2014-05-18T05:27:02.000+0000" }, { "id": "305427", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Which app we are tapping on?", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-18T05:31:53.000+0000", "updated": "2014-05-18T05:31:53.000+0000" }, { "id": "305428", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "The error occurs after the following call.\r\n\r\nhttps://api.cloud.appcelerator.com/v1/objects/settings/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW&page=1&per_page=100&suppress_response_codes=true&ti_analytics={\"id\":\"f931347d-46a4-42a5-9077-291bbc2f2f7c\",\"mid\":\"caa5858e4c9d7c7f\",\"aguid\":\"c53185a9-b569-4d95-a644-33f018f64ebe\",\"event\":\"cloud.objects.settings.query\",\"deploytype\":\"production\",\"sid\":\"c2687b39-50ba-45b4-86db-250147bede02\"}", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:33:49.000+0000", "updated": "2014-05-18T05:33:49.000+0000" }, { "id": "305429", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "I enclosed the screen shots., when I launch the app, the code make the call to the login auth and then after authentication it makes the following call:\r\n\r\nhttps://api.cloud.appcelerator.com/v1/objects/settings/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW&page=1&per_page=100&suppress_response_codes=true&ti_analytics={\"id\":\"f931347d-46a4-42a5-9077-291bbc2f2f7c\",\"mid\":\"caa5858e4c9d7c7f\",\"aguid\":\"c53185a9-b569-4d95-a644-33f018f64ebe\",\"event\":\"cloud.objects.settings.query\",\"deploytype\":\"test\",\"sid\":\"c2687b39-50ba-45b4-86db-250147bede02\"}\r\n\r\nThe above call return 0 results for settings, see enclosed screen shots.\r\n\r\n--Thanks\r\n", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:37:17.000+0000", "updated": "2014-05-18T05:37:17.000+0000" }, { "id": "305430", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "Zero results", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:39:30.000+0000", "updated": "2014-05-18T05:39:30.000+0000" }, { "id": "305431", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "Is there anything else I can provide to you guys to take care of this issue seriously and assume responsibilities if any???\r\n\r\nThanks,\r\nWilliam Diaz", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T05:41:05.000+0000", "updated": "2014-05-18T05:41:05.000+0000" }, { "id": "305432", "author": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "body": "in your app, there are 4 kinds of custom objects, according to my curl tests, just settings object could not be queried back:\r\n{code}\r\n1.\r\ncurl http://api.cloud.appcelerator.com/v1/objects/menu/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\n\r\n\r\nxzhangMBP:~ xzhang$ curl http://api.cloud.appcelerator.com/v1/objects/menu/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\n{\r\n \"meta\": {\r\n \"code\": 200,\r\n \"status\": \"ok\",\r\n \"method_name\": \"queryCustomObjects\",\r\n \"page\": 1,\r\n \"per_page\": 10,\r\n \"total_pages\": 6,\r\n \"total_results\": 54\r\n },\r\n \"response\": {\r\n \"menu\": [\r\n {\r\n \"id\": \"53607e7c15d82732301bff3c\",\r\n \"created_at\": \"2014-04-30T04:39:24+0000\",\r\n \"updated_at\": \"2014-04-30T04:39:58+0000\",\r\n \"title\": \"64. Taco Crispy Shell\",\r\n \"category\": \"535b4ad11316e90db215ceb6\",\r\n \"intro\": \"\",\r\n \"content\": \"\",\r\n \"prices\": [\r\n {\r\n \"name\": \"B\",\r\n \"value\": \"15\"\r\n }\r\n ],\r\n \"user\": {\r\n\r\n\r\n2. curl http://api.cloud.appcelerator.com/v1/objects/menuorder/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\n\r\nxzhangMBP:~ xzhang$ curl http://api.cloud.appcelerator.com/v1/objects/menuorder/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\n{\r\n \"meta\": {\r\n \"code\": 200,\r\n \"status\": \"ok\",\r\n \"method_name\": \"queryCustomObjects\",\r\n \"page\": 1,\r\n \"per_page\": 10,\r\n \"total_pages\": 3,\r\n \"total_results\": 21\r\n },\r\n \"response\": {\r\n \"menuorder\": [\r\n {\r\n \"id\": \"5376feb7bf2f6013ac001bb2\",\r\n \"created_at\": \"2014-05-17T06:16:23+0000\",\r\n \"updated_at\": \"2014-05-17T06:16:23+0000\",\r\n \"name\": \"greg\",\r\n \"phone\": \"0923413092\",\r\n \"address\": \"view talay villas, house #78, jomtien 2nd road (next to kiss food and drinks)\",\r\n \"notes\": \"28. lime margarita\",\r\n \"orderList\": [\r\n {\r\n \"id\": \"53606f991316e90da81be222\",\r\n \"title\": \"18. California Burrito\",\r\n \"intro\": \"\",\r\n \"content\": \"Grilled carne asada steak, lettuce, french fries, guacamole, cheese and sour cream and pico de gallo salsa. Served with Taco House Salsa. \",\r\n \"prices\": [\r\n {\r\n \"name\": \"B\",\r\n \"value\": \"190\"\r\n }\r\n ],\r\n\r\n3. curl http://api.cloud.appcelerator.com/v1/objects/menucategory/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\nxzhangMBP:~ xzhang$ curl http://api.cloud.appcelerator.com/v1/objects/menucategory/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\n{\r\n \"meta\": {\r\n \"code\": 200,\r\n \"status\": \"ok\",\r\n \"method_name\": \"queryCustomObjects\",\r\n \"page\": 1,\r\n \"per_page\": 10,\r\n \"total_pages\": 2,\r\n \"total_results\": 11\r\n },\r\n \"response\": {\r\n \"menucategory\": [\r\n {\r\n \"id\": \"535cd056ed8cdc76d900163a\",\r\n \"created_at\": \"2014-04-27T09:39:34+0000\",\r\n \"updated_at\": \"2014-04-27T09:39:34+0000\",\r\n \"title\": \"Chili & Salads\",\r\n \"user\": {\r\n \"id\": \"53574ee21316e90da8110bc4\",\r\n \"first_name\": \"Taco\",\r\n \"last_name\": \"House\",\r\n \"created_at\": \"2014-04-23T05:25:54+0000\",\r\n \"updated_at\"\r\n\r\n4. curl http://api.cloud.appcelerator.com/v1/objects/settings/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\n\r\nxzhangMBP:~ xzhang$ curl http://api.cloud.appcelerator.com/v1/objects/settings/query.json?key=kf3OWNm418F9zg4Xv0Q01ifIltAFXZDW\r\n{\r\n \"meta\": {\r\n \"code\": 200,\r\n \"status\": \"ok\",\r\n \"method_name\": \"queryCustomObjects\",\r\n \"page\": 1,\r\n \"per_page\": 10,\r\n \"total_pages\": 0,\r\n \"total_results\": 0\r\n },\r\n \"response\": {\r\n \"settings\": [\r\n\r\n ]\r\n }\r\n}\r\n{code}", "updateAuthor": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "created": "2014-05-18T06:29:05.000+0000", "updated": "2014-05-18T06:29:05.000+0000" }, { "id": "305433", "author": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "body": "[~williamdiaztv], can you expand the setting object from web console and give me the object id?", "updateAuthor": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "created": "2014-05-18T06:34:49.000+0000", "updated": "2014-05-18T06:35:17.000+0000" }, { "id": "305434", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "The settings object disappeared after the update. That's explains why is not showing the data. The weird thing is that my backend is working fine and is pulling data from settings.\r\n\r\n", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T06:49:51.000+0000", "updated": "2014-05-18T06:49:51.000+0000" }, { "id": "305435", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "I recreated the object, OMG data loss!!!! That is very concerning how I explain that to my customer???", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T06:54:58.000+0000", "updated": "2014-05-18T06:54:58.000+0000" }, { "id": "305436", "author": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "body": "what is your update operation?", "updateAuthor": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "created": "2014-05-18T06:58:51.000+0000", "updated": "2014-05-18T06:58:51.000+0000" }, { "id": "305437", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "Settings api calls only occurs when launch the app (read no write) and update only happens on the backend when setup the app (one time) for the first time. No doubt the new update deleted my customer data. \r\n\r\n\r\n\r\n", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T07:05:16.000+0000", "updated": "2014-05-18T07:05:16.000+0000" }, { "id": "305438", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "Thanks Xuefeng for jumping into this. Finally a great developer from Appcelerator support community took the issue seriously and provided an immediate solution. You should be the next VP of Engineering at Appcelerator. \r\n\r\nThanks and now I'm thinking very seriously about running my apps on ACS. \r\n\r\nForgot to mention that ACS just pushed down a Mexican Food Franchise with presence on Thailand, Singapore, China and Europe. $$$$$$$ \r\n\r\n-William", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T07:13:25.000+0000", "updated": "2014-05-18T07:15:35.000+0000" }, { "id": "305439", "author": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "body": "Just in case the app still running but still a indexing problem on your mongo database, Hope you guys don't delete the data again. They are live!", "updateAuthor": { "name": "williamdiaztv", "key": "williamdiaztv", "displayName": "William Diaz", "active": true, "timeZone": "America/New_York" }, "created": "2014-05-18T07:28:57.000+0000", "updated": "2014-05-18T07:28:57.000+0000" }, { "id": "305444", "author": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "body": "[~williamdiaztv], can you give me your logic of updating your settings object?", "updateAuthor": { "name": "xzhang", "key": "xzhang", "displayName": "Xuefeng Zhang", "active": false, "timeZone": "Asia/Shanghai" }, "created": "2014-05-19T04:37:53.000+0000", "updated": "2014-05-19T04:37:53.000+0000" }, { "id": "311530", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Hello William,\r\nis this still an issue? Or just a temporal glitch that is already solved?\r\n\r\nBest,\r\n\r\nMauro ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-06-30T00:57:29.000+0000", "updated": "2014-06-30T00:57:29.000+0000" }, { "id": "312432", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "No response from the customer. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2014-07-04T21:45:09.000+0000", "updated": "2014-07-04T21:45:09.000+0000" } ], "maxResults": 19, "total": 19, "startAt": 0 } } }