{ "id": "162801", "key": "TIMOB-23820", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-12-09T21:43:07.000+0000", "created": "2016-08-24T20:26:49.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [], "issuelinks": [ { "id": "52534", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "162522", "key": "TISTUD-8772", "fields": { "summary": "Hyperloop: Errors when running project with liveview and hyperloop enabled", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "updated": "2018-08-06T17:57: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": "13715", "name": "Hyperloop", "description": "Hyperloop project" }, { "id": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" }, { "id": "10207", "name": "Tooling" } ], "description": "Hyperloop system frameworks requires in *app.js* does not trigger hyperloop metabase generation. This is because liveview replaces and renames the original app.js to execute liveview.js module wrapper.\r\n\r\n*Steps to Reproduce*\r\n1. Create a _classic_ mobile project with Hyperloop enabled\r\n2. Modify _app.js_ to reference Hyperloop, i.e var UIView = require('UIKit/UIView');\r\n3. Enable Liveview\r\n4. Build the project for device or sim\r\n5. Launch the app if building for device\r\n\r\n*Actual Results*\r\nThe app freezes on the splash screen, and error on output\r\n{code}\r\n[INFO] [LiveView] Error Evaluating app.js @ Line: \r\n[ERROR] SourceId: \r\n[ERROR] Backtrace:\r\n[ERROR] undefined\r\n{code}\r\n\r\n*Expected Results*\r\nThe project is able to run without error.", "attachment": [], "flagged": false, "summary": "Liveview: on classic apps Hyperloop requires in app.js does not trigger metabase generation", "creator": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "subtasks": [], "reporter": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "environment": null, "closedSprints": [ { "id": 771, "state": "closed", "name": "2016 Sprint 25 Tooling", "startDate": "2016-12-03T01:56:30.015Z", "endDate": "2016-12-17T01:56:00.000Z", "completeDate": "2016-12-21T03:17:00.699Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "403075", "author": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "body": "PR: https://github.com/appcelerator/liveview/pull/98\r\n\r\n*To Test*\r\n1. Follow reproduce steps\r\n2. The project should run without {{Error Evaluating app.js}}\r\n\r\n*Note*\r\nWe still need to address TIMOB-23818. At the moment, once the application is built, and Liveview is running, adding new Hyperloop references will still cause Liveview to error out, this is because the Hyperloop metabases is not generated.", "updateAuthor": { "name": "fmiao", "key": "fmiao", "displayName": "Feon Sua Xin Miao", "active": true, "timeZone": "America/Vancouver" }, "created": "2016-12-09T08:19:56.000+0000", "updated": "2016-12-09T08:19:56.000+0000" }, { "id": "403109", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR approved and merged! I'll work on TIMOB-23818 and see how to regenerate the hyperloop metabase from within liveview.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-09T21:45:38.000+0000", "updated": "2016-12-09T21:45:38.000+0000" }, { "id": "440335", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Cleaning up older fixed tickets from 2016 and earlier. If this ticket should not have been closed, please reopen it.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-06T17:57:30.000+0000", "updated": "2018-08-06T17:57:30.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }