{ "id": "122732", "key": "TIMOB-15763", "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": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2014-03-26T23:59:58.000+0000", "created": "2013-11-21T01:07:42.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "SupportTeam", "module_webview", "qe-closed-3.3.0", "qe-testadded", "triage" ], "versions": [ { "id": "15593", "description": "Release 3.1.3", "name": "Release 3.1.3", "archived": true, "released": true, "releaseDate": "2013-09-18" } ], "issuelinks": [ { "id": "33318", "type": { "id": "10001", "name": "Cloners", "inward": "is cloned into", "outward": "is cloned from" }, "outwardIssue": { "id": "122095", "key": "TIMOB-15762", "fields": { "summary": "iOS: Ti.App.fireEvent not work with html file without .html extension", "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" } }, "priority": { "name": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2014-05-08T10:40:54.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": "10202", "name": "Android", "description": "Android Platform" } ], "description": "h3. Steps to Reproduce\nwhen putting in a file without .html extension, the command not work.\n\nfor example, Ti.App.fireEvent() not work in .xhtml file but work in .html file\n\nh3. Actual Result\nTi.App.fireEvent() not work in .xhtml file\n\nh3. Expected Result\nTi.App.fireEvent() should work in .xhtml file", "attachment": [], "flagged": false, "summary": "Android: Ti.App.fireEvent will not work on file missing .html extension", "creator": { "name": "morefun", "key": "morefun", "displayName": "Steven Lam", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "morefun", "key": "morefun", "displayName": "Steven Lam", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Titanium Studio 3.1.3", "comment": { "comments": [ { "id": "280563", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Why do you need to use .xhtml?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-21T17:02:42.000+0000", "updated": "2013-11-21T17:02:42.000+0000" }, { "id": "280570", "author": { "name": "morefun", "key": "morefun", "displayName": "Steven Lam", "active": true, "timeZone": "America/Los_Angeles" }, "body": "coz ePub is using xhtml, and I want to read these xhtml files in ePub\r\nBy making the ePub file compatible with other application, I leave the extension as xhtml", "updateAuthor": { "name": "morefun", "key": "morefun", "displayName": "Steven Lam", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-11-21T17:35:22.000+0000", "updated": "2013-11-21T17:35:22.000+0000" }, { "id": "295172", "author": { "name": "sunila", "key": "sunila", "displayName": "Sunila", "active": true, "timeZone": "Asia/Kolkata" }, "body": "I can't reproduce the problem.\r\n\r\nCreated a file called test2.xhtml with the following content\r\n{code}\r\n\r\n\r\n\r\n\r\n\r\ntest\r\n\r\n\r\n{code}\r\n\r\nTest code\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({ backgroundColor : 'yellow' });\r\nvar webview = Ti.UI.createWebView({ url: \"test2.xhtml\" });\r\nwin.add(webview);\r\nTi.App.addEventListener(\"someEvent\", function(e) { Ti.API.info(\"app event\"); });\r\nwin.open();\r\n{code}", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-01T15:32:04.000+0000", "updated": "2014-03-04T16:13:35.000+0000" }, { "id": "298895", "author": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is working fine on master and 3.2.2.GA. Closing", "updateAuthor": { "name": "hpham", "key": "hpham", "displayName": "Hieu Pham", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-03-26T23:59:47.000+0000", "updated": "2014-03-26T23:59:47.000+0000" }, { "id": "303984", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the FIXED with:\r\n\r\nAppc-Studio:3.3.0.201405011408\r\nsdk:3.3.0.v20140507163312\r\nacs:1.0.14\r\nalloy:1.4.0-dev\r\nnpm:1.3.2\r\ntitanium:3.3.0-dev\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:Iphone5s(v7.1.1),Nexus7(v4.4.2)\r\n\r\nEvents are being fired from .xhtml file.Working as expected for Android.\r\nHence Closing the issue.\r\nBut not working for iOS issue already logged TIMOB-15762", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-08T08:29:17.000+0000", "updated": "2014-05-08T08:29:17.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }