{ "id": "61630", "key": "TIMOB-998", "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": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2012-07-26T11:43:01.000+0000", "created": "2011-04-15T02:41:10.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core", "tooling" ], "versions": [], "issuelinks": [ { "id": "19408", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-04-30T14:09:44.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}

Create a new project with Mobile SDK 1.3.0 for iPad.

\n

Create a WebView for this app that opens a local HTML file (e.g.\ntest.html) in Resources folder

\n

Put a test.css and test.js file also in your Resources\nfolder.

\n

Try to include the CSS file with a link tag and try to include\nthe JS file with a script tag from test.html

\n

Run the app in the iPad simulator.

\n

The test.css and test.js files will not be included.

\n

I would suspect that the files are either not being included in\nthe build, or that the include path from test.html is\nincorrect.

\n

Also important: You can create a 1.2.0 Mobile SDK project, and\nfollow the above steps, and you will have no problems. The bug does\nnot happen.

\n

Even more interesting: After you create that 1.2.0 project, you\ncan convert it to 1.3.0 from the Edit Project page, and when you\nrun in the simulator, everything works fine. The bug does not\naffect converted projects, only original 1.3.0 projects.

{html}", "attachment": [], "flagged": false, "summary": "Importing CSS/JS files broken for new Mobile SDK 1.3.0 WebViews on iPad", "creator": { "name": "zachstronaut", "key": "zachstronaut", "displayName": "zachstronaut", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "zachstronaut", "key": "zachstronaut", "displayName": "zachstronaut", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "124536", "author": { "name": "zachstronaut", "key": "zachstronaut", "displayName": "zachstronaut", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Further testing seems to suggest this is actually not due to\nv1.2.0 versus v1.3.0 but is instead a bug caused by placing spaces\nin your project name.

{html}", "updateAuthor": { "name": "zachstronaut", "key": "zachstronaut", "displayName": "zachstronaut", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T02:41:11.000+0000", "updated": "2011-04-15T02:41:11.000+0000" }, { "id": "209198", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "No explicit test case, filer admits information is incorrect, there have been fixes with spaces in project names, ancient SDK (1.6.0, <1yr), Titanium Developer (not Studio).", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-24T14:02:08.000+0000", "updated": "2012-07-24T14:02:08.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }