{ "id": "119903", "key": "TIMOB-15194", "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": "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-09-19T15:12:31.000+0000", "created": "2013-09-13T10:50:14.000+0000", "priority": null, "labels": [ "blackberry", "database", "qe-testadded" ], "versions": [], "issuelinks": [], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-20T00:59:47.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": "10230", "name": "BlackBerry", "description": "BlackBerry Platform" } ], "description": "The Database.getRowsAffected() method is not implemented. Function does not exists.", "attachment": [], "flagged": false, "summary": "BlackBerry: Database.getRowsAffected() not implemented", "creator": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "gertjans", "key": "gertjans", "displayName": "Gertjan Smits", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Studio\r\nTi SDK 3.1.3.v20130912171547", "comment": { "comments": [ { "id": "271270", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/172\r\n\r\nCode to test:\r\n{code}\r\nvar win = Titanium.UI.createWindow({\r\n title : 'Test Window'\r\n});\r\n\r\nwin.open();\r\n\r\nvar db = Ti.Database.open('my_db');\r\ndb.execute('CREATE TABLE IF NOT EXISTS people (name TEXT, phone_number TEXT, city TEXT)');\r\ndb.execute('DELETE FROM people');\r\n\r\nvar thisName = 'Arthur';\r\nvar thisPhoneNo = '1-617-000-0000';\r\nvar thisCity = 'Mountain View';\r\ndb.execute('INSERT INTO people (name, phone_number, city) VALUES (?, ?, ?)', thisName, thisPhoneNo, thisCity);\r\n\r\nvar personArray = ['Paul','020 7000 0000', 'London'];\r\ndb.execute('INSERT INTO people (name, phone_number, city) VALUES (?, ?, ?)', personArray);\r\n// Should log \"1\"\r\nTi.API.info(db.rowsAffected);\r\n\r\ndb.execute('SELECT * FROM people');\r\n// Should log \"2\"\r\nTi.API.info(db.rowsAffected);\r\n\r\ndb.close();\r\n{code}", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-16T15:21:48.000+0000", "updated": "2013-09-16T15:21:48.000+0000" }, { "id": "279433", "author": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed on:\nMac OSX 10.9 Mavericks\nTitanium Studio, build: 3.2.0.201311122225\nTitanium SDK, build: 3.2.0.v20131113094843\nCLI: 3.2.0\nAlloy: 1.3.0\nBlackBerry Simulator: 10.2.0.1791\n\nTest case provided by Pedro works as expected logging the correct outputs.\nClosing.", "updateAuthor": { "name": "sdowse", "key": "sdowse", "displayName": "Samuel Dowse", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T23:03:16.000+0000", "updated": "2013-11-13T23:03:16.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }