{ "id": "174224", "key": "TIMOB-27447", "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": null, "resolutiondate": null, "created": "2019-10-06T08:38:49.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "engSchedule" ], "versions": [ { "id": "20844", "name": "Hyperloop 4.0.3", "archived": false, "released": true, "releaseDate": "2019-06-25" }, { "id": "20901", "description": "", "name": "Hyperloop 4.0.4", "archived": false, "released": true, "releaseDate": "2019-09-10" } ], "issuelinks": [], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2019-10-14T20:54:23.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" }, { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "We cannot create Hyperloop subclasses / delegates anymore. For a test-case, simply add the following line somewhere in your app.hs / index.js:\r\n{code:js}\r\nconst test = Hyperloop.defineClass('MyDelegate', 'NSObject');\r\n{code}\r\nif will crash with:\r\n{code}\r\n[ERROR] Cannot find class with name: MyDelegate\r\n[ERROR] Script Error {\r\n[ERROR] column = 31;\r\n[ERROR] description = \"Cannot find class with name: MyDelegate\";\r\n[ERROR] line = 23;\r\n[ERROR] message = \"Cannot find class with name: MyDelegate\";\r\n[ERROR] name = ClassNotFound;\r\n{code}", "attachment": [], "flagged": false, "summary": "Hyperloop: Cannot create subclasses / delegates anymore (regression)", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": "Xcode 11, Hyperloop 4.0.4, SDK 8.2.0.GA", "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }