{ "id": "88994", "key": "TIMOB-8654", "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": [], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2017-06-12T18:44:07.000+0000", "created": "2012-03-27T18:01:49.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "qe-ios031912", "qe-nfc" ], "versions": [], "issuelinks": [], "assignee": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-06-12T18:44:07.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": [], "description": "Steps to reproduce:\r\n\r\n1. Create a default mobile app with cloud services enabled\r\n2. Copy the attached resources folder\r\n3. Run the app on iOS device or Android Device\r\n4. On iOS launch the console in Xcode, on Android launch ddms or logcat\r\n5. Navigate to the \"Custom objects\" row\r\n6. Press the \"Create Object\" row\r\n7. Fill out the fields with the required information\r\n8. Press the \"Add New Property\" button and fill in the field\r\n9. Press the \"Create button\"\r\n\r\nActual result:\r\nThe following message is logged and the object isn't created: \"Exception in event callback. Argument data was an unexpected type! Expected: object, Received: string\"\r\n\r\nExpected result:\r\nThe custom object is created without error", "attachment": [], "flagged": false, "summary": "ACS : Creating a custom failed and produced the error \"Exception in event callback. Argument data was an unexpected type! Expected: object, Received: string\"", "creator": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "190469", "author": { "name": "wkong", "key": "wkong", "displayName": "Wei Kong", "active": false, "timeZone": "America/Los_Angeles" }, "body": "What is the actaul ACS API call here?", "updateAuthor": { "name": "wkong", "key": "wkong", "displayName": "Wei Kong", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2012-04-10T14:06:31.000+0000", "updated": "2012-04-10T14:06:31.000+0000" }, { "id": "190474", "author": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "body": "moved as per Wei", "updateAuthor": { "name": "thomashuelbert", "key": "thomashuelbert", "displayName": "Thomas Huelbert", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-10T14:13:16.000+0000", "updated": "2012-04-10T14:13:16.000+0000" }, { "id": "190478", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Wei\r\n\r\nI tested this again today and did not see this issue anymore. But I Believe there error was being caught in the following code snippet \r\n{code}\r\nCloud.Objects.create(data, function (e) {\r\n if (e.success) {\r\n alert('Created!');\r\n for (var i = 0; i < fields.length; i++) {\r\n fields[i].value = '';\r\n }\r\n }\r\n else {\r\n error(e);\r\n }\r\n button.show();\r\n });\r\n{code}", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-10T14:18:51.000+0000", "updated": "2012-04-10T14:18:51.000+0000" }, { "id": "190486", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Can you provide the actual data that was entered in the UI when attempting to create the object that failed?\r\n\r\nAlso, what version of the module?", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2012-04-10T14:39:15.000+0000", "updated": "2012-04-10T14:39:15.000+0000" }, { "id": "190491", "author": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Jeff\r\n\r\nI no longer have the data that I used to create the object.\r\n\r\nHowever, I no longer am seeing this issue with the module from SDK 2.0.1.v20120410103239 hash rb11cc3e7", "updateAuthor": { "name": "mpettiford", "key": "mpettiford", "displayName": "Michael Pettiford", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-04-10T15:05:59.000+0000", "updated": "2012-04-10T15:06:19.000+0000" }, { "id": "421768", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket due to the above comment.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-06-12T18:44:07.000+0000", "updated": "2017-06-12T18:44:07.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }