{ "id": "174890", "key": "MOD-2594", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-06-15T12:03:53.000+0000", "created": "2020-04-07T09:15:25.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "2020-Q2" ], "versions": [ { "id": "20952", "name": "Release 9.0.0", "archived": false, "released": false } ], "issuelinks": [ { "id": "58303", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "174718", "key": "MOD-2583", "fields": { "summary": "ti.crypto: Examples need to be updated", "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": "None", "id": "6" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-06-15T12:03:53.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": "11328", "name": "Crypto" } ], "description": "ti.crypto includes {{ti.include}} which has now been removed in titanium and replaced with {{.require}}.\r\n{code:java}\r\n[ERROR] TiExceptionHandler: (main) [1540,1540] /app.js:23\r\n[INFO] I/ti.crypto.app: Waiting for a blocking GC ProfileSaver\r\n[ERROR] TiExceptionHandler: Ti.include('ui.js');\r\n[ERROR] TiExceptionHandler: ^\r\n[ERROR] TiExceptionHandler: TypeError: Ti.include is not a function\r\n[ERROR] TiExceptionHandler: at /app.js:23:4\r\n[ERROR] TiExceptionHandler: at Module._runScript (ti:/module.js:587:9)\r\n[ERROR] TiExceptionHandler: at Module.load (ti:/module.js:106:7)\r\n[ERROR] TiExceptionHandler: at Module.loadJavascriptText (ti:/module.js:436:9)\r\n[ERROR] TiExceptionHandler: at Module.loadAsFile (ti:/module.js:488:15)\r\n[ERROR] TiExceptionHandler: at Module.loadAsFileOrDirectory (ti:/module.js:410:20)\r\n[ERROR] TiExceptionHandler: at Module.require (ti:/module.js:239:23)\r\n{code}\r\n\r\n*+Test Steps:+*\r\n# Download module from (https://github.com/appcelerator-modules/ti.crypto)\r\n# Build module\r\n# Copy the the code from the example\r\n# Paste the code into a Titanium application\r\n# Add module to app\r\n# Run Titanium application\r\n\r\n*Expected result*\r\nApplication should not crash and run without issues.\r\n\r\n*Actual result*\r\nApplication throws above error\r\n\r\n*To be done:*\r\nUpdate the example code with fixes done in Android here...\r\nhttps://github.com/appcelerator-modules/ti.crypto/pull/13\r\n\r\nAfter adding fixes done for Android module, iOS gives error which need to be fixed.\r\n\r\n[TRACE] [ERROR] Script Error {\r\n[TRACE] [ERROR] column = 8;\r\n[TRACE] [ERROR] line = 25;\r\n[TRACE] [ERROR] message = \"Maximum call stack size exceeded.\";\r\n[TRACE] [ERROR] sourceURL = \"file:///Users/axwayroot/Library/Developer/CoreSimulator/Devices/30071698-1263-4D45-A7A3-1BD6F3CE40C8/data/Containers/Bundle/Application/99E17B7A-7D07-4C1F-8DA7-3F4C3EC1AD78/crypto.app/app.js\";\r\n[TRACE] [ERROR] stack = \" at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code]\\n at (/ui.js:1:142)\\n at global code(/ui.js:116:70)\\n at require@[native code]\\n at (/app.js:25:8)\\n at global code(/app.js:31:70)\\n at require@[native code])\";\r\n[TRACE] [ERROR] toJSON = \"\";\r\n[TRACE] [ERROR] }\r\n", "attachment": [ { "id": "67442", "filename": "MOD-2594_android_log.txt", "author": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-15T12:03:30.000+0000", "size": 85930, "mimeType": "text/plain" }, { "id": "67441", "filename": "MOD-2594_ios_log.txt", "author": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-15T12:03:33.000+0000", "size": 1810316, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: \"ti.crypto\" Example needs updating", "creator": { "name": "ssingh", "key": "ssingh", "displayName": "Satinder Pal Singh", "active": true, "timeZone": "Asia/Kolkata" }, "subtasks": [], "reporter": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "MacOS Catalina: 10.15.3\r\nXcode: 11.3\r\nJava Version: 1.8.0_131\r\niOS: 13.2\r\nNode.js: 10.16.3\r\n\"NPM\":\"4.2.15-1\",\"CLI\":\"7.1.2-7\"\r\niOS SImulator\r\nSDK Version: 9.0.0.GA", "closedSprints": [ { "id": 1198, "state": "closed", "name": "2020 Sprint 12", "startDate": "2020-06-08T21:06:41.849Z", "endDate": "2020-06-19T21:06:00.000Z", "completeDate": "2020-06-19T15:54:38.493Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "455040", "author": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "body": "PR - https://github.com/appcelerator-modules/ti.crypto/pull/14\r\n\r\nresolved the previous TI.Module not found issue so now able to run the example successfully. Though couple of issues are coming when clicking the internal functionality. working on the issues. ", "updateAuthor": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-04-09T07:26:07.000+0000", "updated": "2020-04-09T07:30:01.000+0000" }, { "id": "455752", "author": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "body": "The PR: https://github.com/appcelerator-modules/ti.crypto/pull/15 addressing all the issue crypto module had.\r\nThere were crash coming while trying to open the single call and multiple call table view cell of crypto module. this issue has also been resolved by above PR.", "updateAuthor": { "name": "ashukla", "key": "ashukla", "displayName": "Anil Shukla", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-11T06:42:44.000+0000", "updated": "2020-06-11T06:46:35.000+0000" }, { "id": "455793", "author": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified on below environment:\r\n*Mac OS X* = 10.15\r\n*Xcode*: 11.3.1\r\n*Node.js Version* = 12.16.0\r\n*CLI Version* = 5.2.2\r\n\r\n*Emulator* : Nexus6_API27 (8.1.0)\r\n*iOS Simulator* = iPhone 11 Pro Max (13.3)\r\n\r\nIts working fine so closing this ticket. Attaching logs for reference.", "updateAuthor": { "name": "srai", "key": "srai", "displayName": "Saumya Rai", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-06-15T12:02:58.000+0000", "updated": "2020-06-15T12:03:10.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }