{ "id": "61350", "key": "TIMOB-718", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2017-07-26T02:56:07.000+0000", "created": "2011-04-15T02:35:04.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [], "versions": [ { "id": "11233", "name": "Release 1.6.0", "archived": true, "released": true, "releaseDate": "2011-02-23" }, { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "issuelinks": [], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-07-26T02:56: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": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
YahooModule.m only supports SELECT queries and doesn't support\r\nINSERT, UPDATE and DELETE queries.
\r\nWhen trying to use INSERT queries with YAhoo.yql method the\r\nApplication closes.
Here is some more info for this bug:
\nAfter doing all the OAuth process, I am calling a Yahoo.YQL\nmethod to access Private information. Here is my code:
\n\nfunction ready() {\n \n //Titanium.Yahoo.setOAuthParameters(consumerKey,sharedSecret);\n\n // YQL query variable\n var queryYQL = 'SELECT * from meme.info WHERE owner_guid=me';\n\n //Start YQL Loop\n Titanium.Yahoo.yql(queryYQL, function(e)\n {\n try\n {\n Ti.API.info(\"Starting loop with YQL Query on READY()\");\n Ti.API.info('Found YQL results data? ' + e.success);\n\n if (e.message)\n {\n Ti.API.error('YQL Error Message READY(): ' + e.message);\n }\n\n //Get all values from Account Info\n meme = e.data.meme;\n \n Ti.API.info(\"Description Meme: \" + meme);\n \n\n }\n catch(E)\n {\n Titanium.API.error(\"Error retrieving READY() = \" + E);\n }\n });\n}
\n
\nI got this Error on Titanium Developer:
\n[ERROR] The application has crashed with an\nunhandled exception. Stack trace: 0 CoreFoundation 0x02b7e45b\nraiseError + 299
\n1 libobjc.A.dylib 0x97ccc509 objc_exception_throw + 56
\n2 CoreFoundation 0x02b92c3b +[NSException raise:format:arguments:]\n+ 155
\n3 CoreFoundation 0x02b92b9a +[NSException raise:format:] + 58
\n4 Foundation 0x0041caf5 -[NSCFDictionary setObject:forKey:] +\n293
\n5 iMeme 0x000369b5 -[YQLCallback requestFinished:] + 470
\n6 Foundation 0x00421b36 NSThreadPerformPerform + 678
\n7 CoreFoundation 0x02b498e1 CFRunLoopRunSpecific + 3217
\n8 CoreFoundation 0x02b48c48 CFRunLoopRunInMode + 88
\n9 GraphicsServices 0x02e1a615 GSEventRunModal + 217
\n10 GraphicsServices 0x02e1a6da GSEventRun + 115
\n11 UIKit 0x006abfaf UIApplicationMain + 1157
\n12 iMeme 0x0000328e main + 360
\n13 iMeme 0x000030fa start + 54
\n2010-04-06 01:05:16.675 iMeme[8214:207] Terminating app\ndue to uncaught exception 'NSInvalidArgumentException', reason:\n' -[NSCFDictionary setObject:forKey:]: attempt to\ninsert nil value (key: data)'
\n2010-04-06 01:05:16.676 iMeme[8214:207] Stack: (
\n45605979,
\n2546779401,
\n45689915,
\n45689754,
\n4311797,
\n223669,
\n4332342,
\n45390049,
\n45386824,
\n48342549,
\n48342746,
\n6995887,
\n12942,
\n12538
\n) [DEBUG] Session did end with error (null)\n[INFO] Application has exited from\nSimulator
Still valid, based around the time it was filed and the last\nYahoo updates for iOS.