{ "id": "82150", "key": "AC-3087", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2011-12-22T19:33:33.000+0000", "created": "2011-10-31T12:33:15.000+0000", "labels": [ "vvsdf" ], "versions": [], "issuelinks": [], "assignee": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "updated": "2016-03-08T07:48:08.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": "h2. Problem\r\n\r\nIf I launch a URL in a webview that contains the hash mark (#) I can no longer use Titanium.App.addEventListener or Titanium.App.fireEvent. \r\n\r\nh2. Logs\r\n\r\nThe adb console returns the following error:\r\n\r\n{code}\r\nE/Web Console(31288): Uncaught ReferenceError: Titanium is not defined at file:///android_asset/Resources/windows/Neighborhood/webviews/map.html#hospitals|:51\r\n{code}\r\n\r\nh2. Test case\r\n\r\n{code:lang=javascript|title=webview_container.js}\r\n//screenHeight/screenWidth being set in another file.\r\nvar web = Titanium.UI.createWebView({\r\n top:20,\r\n height: screenHeight-this.top,\r\n width: screenWidth,\r\n url: 'anyurl.html#data'\r\n});\r\n{code}\r\n\r\n{code:lang=javascript|title=anyurl.html}\r\n\r\n\r\n\r\nTitle\r\n\r\n\r\n\r\n

content

\r\n\r\n\r\n{code}\r\n\r\nThe same thing happens if I try to pass a query string to the url.\r\n", "attachment": [], "flagged": false, "summary": "Android: UI - Titanium is not defined in webView when url contains a hash", "creator": { "name": "xylude", "key": "xylude", "displayName": "Jason Crider", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "xylude", "key": "xylude", "displayName": "Jason Crider", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "* Android 2.2\r\n* SDK version 1.7.3", "comment": { "comments": [ { "id": "177091", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "In order for me to escalate this ticket to the core team, it must follow the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] and hence include a test case that runs without modification, as per the [Creating a Test Case|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase], and full details in the environment field.\r\n\r\nI will close this for now. Please reopen the ticket once it is complete, and I will move it to the main project.\r\n\r\nThanks for your efforts with this.", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2011-12-22T19:33:25.000+0000", "updated": "2011-12-22T19:33:25.000+0000" }, { "id": "183531", "author": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "body": "Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist] to ensure that we can escalate it quickly. Read [How to Submit a Bug Report|https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report] if you have not read it before, and always start a ticket using the [JIRA Ticket Template|https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template].\r\n\r\nThanks in advance", "updateAuthor": { "name": "pdowsett", "key": "pdowsett", "displayName": "Paul Dowsett", "active": true, "timeZone": "Europe/London" }, "created": "2012-02-17T02:23:00.000+0000", "updated": "2012-02-17T02:23:00.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }