{ "id": "161517", "key": "TIMOB-23588", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-14T04:49:51.000+0000", "created": "2016-07-01T14:52:03.000+0000", "epic": { "id": 152340, "key": "TIMOB-19794", "name": "Android: Recompile Native modules against latest LTS of V8 library", "summary": "Android: Recompile Native modules against latest LTS of V8 library", "color": { "key": "color_1" }, "done": false }, "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "52126", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "161516", "key": "TIMOB-23587", "fields": { "summary": "Android: Recompile appcelerator.apm module against latest SDK", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } }, { "id": "52127", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "inwardIssue": { "id": "161518", "key": "TIMOB-23589", "fields": { "summary": "Android: Recompile appcelerator.https module against latest SDK", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "updated": "2016-09-02T22:50:30.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "appcelerator.encrypteddatabase: https://github.com/appcelerator-modules/appcelerator.encrypteddatabase\r\n\r\nGenerally this requires some minor changes to each module:\r\n- bump the module's version up to the next major (i.e. 2.3.1 -> 3.0.0)\r\n- bump the module's apiversion to 3 (for Android)\r\n- bump the minsdk to 6.0.0 (for Android)\r\nAt a higher level, we'll need to update our CI build scripts for modules to use the master branch SDK to build against, and Android NDK r11c.", "attachment": [], "flagged": false, "summary": "Android: Recompile appcelerator.encrypteddatabase module against latest SDK", "creator": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "environment": null, "closedSprints": [ { "id": 678, "state": "closed", "name": "2016 Sprint 14 SDK", "startDate": "2016-07-02T00:25:57.921Z", "endDate": "2016-07-16T00:25:00.000Z", "completeDate": "2016-07-18T03:18:29.729Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "389933", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-05T06:30:30.000+0000", "updated": "2016-07-05T06:30:30.000+0000" }, { "id": "390336", "author": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "body": "https://github.com/appcelerator-modules/appcelerator.encrypteddatabase/pull/13", "updateAuthor": { "name": "cwilliams", "key": "cwilliams", "displayName": "Christopher Williams", "active": true, "timeZone": "America/New_York" }, "created": "2016-07-11T17:35:31.000+0000", "updated": "2016-07-11T17:35:31.000+0000" }, { "id": "390580", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "CR and FT passed! use this for test!\r\n{code}\r\nvar dbobj = require(\"appcelerator.encrypteddatabase\");\r\nvar instance = null;\r\nvar dataTofetch = null;\r\n\r\nfunction init() {\r\n\tdbobj.setPassword('secret');\r\n\tTi.API.info(\"Opening DB...\");\r\n\tinstance = dbobj.open('test.db');\t\t\r\n}\r\n\r\nfunction setup() {\r\n\tinstance.execute(\"CREATE TABLE IF NOT EXISTS testtable(id integer PRIMARY KEY);\");\r\n\tinstance.execute(\"INSERT OR IGNORE INTO testtable(id) VALUES (1);\");\r\n}\r\n\r\nfunction insert(){\r\n\tvar dataToInsertHandle = instance.execute(\"SELECT id FROM testtable ORDER BY id DESC LIMIT 1;\");\r\n\tvar dataToInsert = null;\r\n\tif(dataToInsertHandle.isValidRow()) {\r\n\t\tdataToInsert = (dataToInsertHandle.fieldByName('id') + 1);\r\n\t\tdataTofetch = dataToInsert;\r\n\t}\r\n\tinstance.execute(\"INSERT OR IGNORE INTO testtable(id) VALUES (\" + dataToInsert + \");\");\r\n}\r\n\r\nfunction fetch() {\r\n\tvar rowValue = null;\r\n\tvar rowHandle = instance.execute(\"SELECT * FROM testtable WHERE id=\" + dataTofetch + \";\");\r\n\tif (rowHandle.isValidRow()) {\r\n\t\trowValue = rowHandle.fieldByName('id');\r\n\t}\r\n\talert(\"Fetched Data: \" + rowValue);\r\n}\r\n\r\n\r\ninit();\r\nsetup();\r\ninsert();\r\nfetch();\r\n{code}", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-13T06:32:24.000+0000", "updated": "2016-07-13T06:32:24.000+0000" }, { "id": "395252", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the update.\r\n\r\nNo issues found.\r\nClosing.\r\n\r\nEnvironment:\r\nAppc Studio : 4.8.0.201608221113\r\nTi SDK : 6.0.0.v20160902133138\r\nTi CLI : 5.0.9\r\nAlloy : 1.9.1\r\nMAC El Capitan : 10.11.6\r\nAppc NPM : 4.2.8-6\r\nAppc CLI : 6.0.0-38\r\nNode: 4.4.4\r\nNexus 6 - Android 6.0.1", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-09-02T22:50:23.000+0000", "updated": "2016-09-02T22:50:23.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }