{ "id": "167618", "key": "TIMOB-24693", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-05-15T16:27:06.000+0000", "created": "2017-05-15T12:11:34.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2017-05-18T18:02:14.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": "13600", "name": "LiveView", "description": "Live preview of Titanium apps" } ], "description": "h5.Description\r\n\r\nWhen passing in a custom IP for liveview to use the command line arg is --liveview-ip, liveview checks for liveview-host https://github.com/appcelerator/liveview/blob/4de3f39330fcd6de5ca90b406f4b94c4feaf32d1/hook/lvhook.js#L129\r\n\r\nh5.Steps to reproduce\r\n\r\n# Build an app with {{--liveview --liveview-ip 123.4.5.6}}\r\n# Check the logs\r\n\r\nh5.Actual\r\n\r\nApp starts and errors out that it cant access an ip that is not 123.4.5.6\r\n\r\nh5.Expected\r\n\r\nApp should start and error out that it cant access 123.4.5.6\r\n", "attachment": [], "flagged": false, "summary": "LiveView: Incorrect argument checked for custom IP", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "LiveView: 1.1.12\r\nAppcelerator Studio: 4.9.0.201705121309\r\n", "comment": { "comments": [ { "id": "419670", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/liveview/pull/100", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-15T12:20:03.000+0000", "updated": "2017-05-15T12:20:03.000+0000" }, { "id": "419724", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Studio PR: https://github.com/appcelerator/titanium_studio/pull/906\r\n", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-05-15T19:06:35.000+0000", "updated": "2017-05-15T19:06:35.000+0000" }, { "id": "419946", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Node Version: 6.10.1\r\nNPM Version: 3.10.10\r\nMac OS: 10.12.4\r\nAppc CLI: 6.2.2-master.7\r\nAppc CLI NPM: 4.2.9\r\nTitanium SDK version: 6.1.0.v20170517143931\r\nXcode 8.3.2\r\nAndroid Emulator 6.0.1\r\n\r\n[~eharris] I followed the steps to reproduce, and I did not get errors with the latest SDK build. In the \"expected\" you have that it should error out. Is that correct? I did not get any errors. The SDK version I used which doe have the fix is 6.1.0.v20170517143931.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-18T15:08:02.000+0000", "updated": "2017-05-18T15:42:56.000+0000" }, { "id": "419958", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I validated the fix with the environment mentioned in my above comment. For reference, I needed to build an app in Studio with LiveView enabled so that path.hooks is updated correctly. Closing ticket as I was able to validate the fix.", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-05-18T17:57:40.000+0000", "updated": "2017-05-18T17:57:40.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }