{ "id": "131013", "key": "TIMOB-17040", "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": "2", "description": "The problem described is an issue which will never be fixed.", "name": "Won't Fix" }, "resolutiondate": "2014-05-29T18:17:31.000+0000", "created": "2014-05-29T10:52:03.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "parity", "qe-3.3.0" ], "versions": [ { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "issuelinks": [ { "id": "37955", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "130509", "key": "TIMOB-16984", "fields": { "summary": "TiAPI: Deprecate Ti.include", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-22T22:58:24.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "Relative path for Window URL does not work \r\nSteps to reproduce:\r\nNote in this example that the \"loader.js and win.js\" file is in a \"ui\" subdirectory.\r\n\r\ncode in app.js\r\n{code}\r\nTi.UI.setBackgroundColor('#000'); \r\nTi.include('ui/loader.js'); \r\n{code}\r\n\r\ncode in ui/loader.js\r\n{code}\r\nvar win1=Ti.UI.createWindow({ \r\n title:'Window 1', \r\n backgroundColor:'#fff', \r\n url:'win1.js' \r\n}); \r\nwin1.open(); \r\n{code}\r\n\r\ncode in ui/win1.js\r\n{code}\r\nvar winOne = Ti.UI.currentWindow; \r\n \r\nvar label1 = Ti.UI.createLabel({ \r\n color:'#999', \r\n text:'I am Window 1', \r\n font:{fontSize:20,fontFamily:'Helvetica Neue'}, \r\n textAlign:'center', \r\n width:'auto' \r\n}); \r\nwinOne.add(label1); \r\n{code}\r\n\r\nExpected Result:\r\n1. Window opens with label text as \"I am Window 1\"\r\n\r\nActual Result:\r\n1. Getting error as:\r\n{code}\r\n[ERROR] Script Error Could not find the file win1.js\r\n{code}\r\n\r\nNote: Running fine on Android(TIMOB-10783)", "attachment": [], "flagged": false, "summary": "iOS: Relative path for Window URL does not work ", "creator": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Appc-Studio:3.3.0.201405271647\r\nsdk:3.3.0.v20140528144113\r\nacs:1.0.14\r\nalloy:1.4.0-beta\r\nnpm:1.3.2\r\ntitanium:3.3.0-beta\r\ntitanium-code-processor:1.1.1\r\nxcode:5.1.1\r\nDevice:iPhone5S(v7.1.1)\r\nOS:Maverick(10.9.2)", "closedSprints": [ { "id": 105, "state": "closed", "name": "2014 Sprint 11 SDK", "startDate": "2014-05-27T21:43:32.338Z", "endDate": "2014-06-07T00:00:00.000Z", "completeDate": "2014-06-09T21:36:37.587Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "306872", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Ti.include() is being deprecated. See TIMOB-16984.", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-05-29T18:17:31.000+0000", "updated": "2014-05-29T18:17:31.000+0000" }, { "id": "415182", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as \"Won't Fix\".", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-22T22:58:24.000+0000", "updated": "2017-03-22T22:58:24.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }