{ "id": "162883", "key": "TIMOB-23861", "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": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-09-04T05:57:47.000+0000", "created": "2016-08-30T16:15:27.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "android", "encryption", "sqlite" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [ { "id": "52613", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "162886", "key": "MOD-2291", "fields": { "summary": "Android : SQLite Database Encryption Module version 1.3.1 throwing error with example ToDo Alloy Apps ", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-29T22:10:28.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": "When trying to use the encrypted database module with the provided example app on Android I get the following error.\r\n\r\n[ERROR] : TiExceptionHandler: (main) [539,539] ----- Titanium Javascript Runtime Error -----\r\n[ERROR] : TiExceptionHandler: (main) [0,539] - In alloy/sync/enc.db.js:113,36\r\n[ERROR] : TiExceptionHandler: (main) [0,539] - Message: Uncaught TypeError: Object # has no method 'cipherUpgrade'\r\n[ERROR] : TiExceptionHandler: (main) [0,539] - Source: var cipherUpgraded = _database.cipherUpgrade(dbName);\r\n[ERROR] : V8Exception: Exception occurred at alloy/sync/enc.db.js:113: Uncaught TypeError: Object # has no method 'cipherUpgrade'\r\n\r\nseems to work fine on iOS.\r\n", "attachment": [ { "id": "60161", "filename": "Screen Shot 2016-08-30 at 5.03.44 pm.png", "author": { "name": "donald.anderson", "key": "donald.anderson", "displayName": "Donald Anderson", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-08-30T16:07:15.000+0000", "size": 73612, "mimeType": "image/png" } ], "flagged": false, "summary": "SQLite Database Encryption Module not working on Andriod", "creator": { "name": "donald.anderson", "key": "donald.anderson", "displayName": "Donald Anderson", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "donald.anderson", "key": "donald.anderson", "displayName": "Donald Anderson", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Operating System\r\n Name = Mac OS X\r\n Version = 10.11.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 17179869184\r\nNode.js\r\n Node.js Version = 0.12.7\r\n npm Version = 2.11.3\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\nTitanium SDK\r\n SDK Version = 5.4.0.GA\r\n SDK Path = /Users/donaldanderson/Library/Application Support/Titanium/mobilesdk/osx/5.4.0.GA\r\n Target Platform = android", "comment": { "comments": [ { "id": "416284", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate, please refer to MOD-2291.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-29T22:10:28.000+0000", "updated": "2017-03-29T22:10:28.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }