{ "id": "165129", "key": "AC-4696", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2016-12-28T19:45:57.000+0000", "created": "2016-12-27T19:53:06.000+0000", "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-12-28T19:45:57.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "1. Using Titanium SDK, launch a local webview that pulls in an asset (an image or a JS file for instance). (Titanium automatically determines the asset URL to be \"file:///android_asset/Resources/whatever.png\"\r\n2. Reload the application using Ti.App._restart().\r\n3. The asset in the webview will no longer be found. The URL it is trying to access is now \"file:///android_asset/Resources//whatever.png\" (extra slash).", "attachment": [], "flagged": false, "summary": "Android: Ti.App._restart() breaks a local WebView", "creator": { "name": "tmiller", "key": "tmiller", "displayName": "Todd Miller", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "tmiller", "key": "tmiller", "displayName": "Todd Miller", "active": true, "timeZone": "America/New_York" }, "environment": "Appcelerator CLI 6.0.0. Titanium SDK 6.0.0.GA. Android API 23.", "comment": { "comments": [ { "id": "403883", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "There is no public API method called {{restart}} so you're probably accessing private API - which is not supported and advised.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-12-27T22:58:54.000+0000", "updated": "2016-12-27T22:59:06.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }