{ "id": "117627", "key": "TIMOB-14664", "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-19T20:56:02.000+0000", "created": "2013-07-26T03:28:59.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "documentation", "qe-testadded" ], "versions": [], "issuelinks": [ { "id": "33439", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "119821", "key": "TIMOB-15435", "fields": { "summary": "BlackBerry: Ti.Utils / Ti.Utils.md5HexDigest is not implemented", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2014-02-19T23:28:08.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": "Test\r\n\r\nvar key = Ti.Utils.sha1(String/Titanium.Blob obj);\r\nconsole.log(key);", "attachment": [], "flagged": false, "summary": "BlackBerry: Ti.Utils object is undefined so using it causes a crash.", "creator": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "263549", "author": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Currently the Ti.Utils is not exposed externally. We have scheduled it for the 3.2 release. If your using Ti.Utils please wrap it in a platform conditional. If wrapping the Ti.Utils call causes problems please note what your app is doing and we will see about upping the priority of the fix higher.", "updateAuthor": { "name": "rmcmahon", "key": "rmcmahon", "displayName": "Russell McMahon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-27T01:31:18.000+0000", "updated": "2013-07-27T01:36:31.000+0000" }, { "id": "271990", "author": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Test code\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\tlayout: 'vertical'\r\n});\r\n\r\nfunction Button(_title, _callback) {\r\n\tvar btn = Ti.UI.createButton({\r\n\t\ttitle: _title,\r\n\t\ttop: 10\r\n\t});\r\n\t\r\n\tbtn.addEventListener('click', _callback);\r\n\treturn btn\r\n}\r\n\r\nwin.add(Button('base64encode', base64encode));\r\nwin.add(Button('base64decode', base64decode));\r\nwin.add(Button('md5', md5));\r\nwin.add(Button('sha1', sha1));\r\nwin.add(Button('sha256', sha256));\r\n\r\nwin.open();\r\n\r\nfunction base64encode() {\r\n\tvar result = Ti.Utils.base64encode('Titanium Rocks!').text;\r\n\tTi.API.info('base64encode');\r\n\tTi.API.info(result);\r\n}\r\nfunction base64decode() {\r\n\tvar result = Ti.Utils.base64decode('VGl0YW5pdW0gUm9ja3Mh').text;\r\n\tTi.API.info('base64decode');\r\n\tTi.API.info(result);\r\n}\r\nfunction md5() {\r\n\tvar result = Ti.Utils.md5HexDigest('Titanium Rocks!');\r\n\tTi.API.info('md5');\r\n\tTi.API.info(result);\r\n}\r\nfunction sha1() {\r\n\tvar result = Ti.Utils.sha1('Titanium Rocks!');\r\n\tTi.API.info('sha1');\r\n\tTi.API.info(result);\r\n}\r\nfunction sha256() {\r\n\tvar result = Ti.Utils.sha256('Titanium Rocks!');\r\n\tTi.API.info('sha256');\r\n\tTi.API.info(result);\r\n}\r\n{code}\r\n\r\nPR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/176", "updateAuthor": { "name": "penrique", "key": "penrique", "displayName": "Pedro Enrique", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2013-09-19T20:37:23.000+0000", "updated": "2013-09-19T20:37:23.000+0000" }, { "id": "279290", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified with Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201311122045\r\nSDK:3.2.0.v20131112180422\r\nalloy: 1.3.0\r\nacs: 1.0.7\r\nnpm: 1.3.2\r\ntitanium: 3.2.0\r\ntitanium-code-processor: 1.0.3\r\nXcode:5.0.1\r\nDevice: Blackeberry Z 10\r\nOS: Mac OSX 10.9\r\nBB OS 10.0.10.261\r\n\r\nAbove mentioned code used for testing.\r\nTi.Utils working fine.\r\nHence closing as working well and verified.", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-13T05:26:20.000+0000", "updated": "2013-11-13T05:26:20.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }