{ "id": "63981", "key": "TIMOB-3349", "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": "11244", "name": "Release 1.7.0", "archived": true, "released": true, "releaseDate": "2011-06-13" }, { "id": "11253", "name": "Sprint 2011-18", "archived": true, "released": true, "releaseDate": "2011-05-09" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-05-16T11:00:37.000+0000", "created": "2011-04-15T03:42:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "defect", "enterprise", "ios", "reported-1.5.0", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-05-16T11:00:37.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": "{html}
This is the companion ticket to #2585.
\nThe tests are already in drillbit -- see the \"includes\" test\nsuite in drillbit. So for purposes of meeting our ticketing\nguideline for \"Reproduction sequence\", the drillbit suite\nsuffices.
\nBut here's a short summary example as well:
\nResources/app.js
\n\nTi.include(\"l2/l2_included.js\");
\n
\nResources/l2/l2_included.js
\n\nTi.include(\"../l1_included.js\"); // Fails
\n
\nResources/l1_included.js
\n\nTi.API.info(\"You've reached Resources/l1_included.js\");
\n
(from [ebedeb89bd3c5238c53d189286cd15700ba7bf93])\n[#3349 state:fixed-in-qa] Hooray for call stacks!\nit lets us recurse include right. \nhttps://github.com/appcelerator/titanium_mobile/commit/ebedeb89bd3c...
Ran ti.includes Drillbit test against Titanium SDK version:\n1.7.0 (03/18/11 12:00 19be393)
\niphone results
\nrelativeDown true 9 Success
\nslashToRoot false 16 should be true, was: false
\ndotdotSlash true 23 Success
\ndotSlash true 23 Success
\nlotsOfDots true 37 Success
I had to revert this change to fix 3411 to allow QE to proceed\nwith testing. Please redress this issue and regress fully against\n3411.
Image paths should also be tested, in this or a new ticket.
\nJust to summarize paths for images, this has been tested on iOS\n4.2 / Ti 1.6.0 (3 Feb 2011) with the following results for both the\nimage and backgroundImage properties of imageView (using the simple\nproject attached):
\nimage: 'card/1.png', // no leading slash (relative) works
\nimage: './card/2.png', // leading dot and slash works
image: '/card/3.png', // leading slash does not\nwork
\nimage: 'app://card/4.png', // leading \"app://\" does not\nwork
Are \"app://\" cases also being tested? I don't see it in\nNatalie's Drillbit results.