[
https://issues.apache.org/jira/browse/CB-8403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ari-Matti Nivasalo updated CB-8403:
-----------------------------------
Environment: Windows 8, WP8 (Lumia Cyan): Lumia 925 (was: Windows 8)
> Windows Phone build breaks on device when there are empty css files on www
> folder
> ---------------------------------------------------------------------------------
>
> Key: CB-8403
> URL: https://issues.apache.org/jira/browse/CB-8403
> Project: Apache Cordova
> Issue Type: Bug
> Components: WP8
> Affects Versions: Master
> Environment: Windows 8, WP8 (Lumia Cyan): Lumia 925
> Reporter: Ari-Matti Nivasalo
> Assignee: Jesse MacFadyen
> Priority: Minor
>
> If there are empty css files somewhere under www folder, for example under
> www/styles/, the content after that file does not get loaded on WP8. It does
> exist in the XAP package but cannot be accessed via the app.
> This affects all the folders that alphabetically come after the folder that
> has the file.
> For example if the www folder has following folder structure:
> - styler/
> - legitfile1.css
> - styles/
> - emptyfile.css
> - legitfile2.css
> - stylet/
> - legitfile3.css
> Only legitfile1.css gets loaded on device. Also verified by using weinre
> debugger:
> var http = new XMLHttpRequest();
> http.open('HEAD', 'www/styler/legitfile1.css', false);
> http.send();
> http.status === 200
> http.open('HEAD', 'www/styles/legitfile2.css', false);
> http.send();
> http.status === 404
> http.open('HEAD', 'www/stylet/legitfile3.css', false);
> http.send();
> http.status === 404
> Might work with other filetypes also. Tested with an empty .txt file and
> seemed to work fine.
> cordova -v --> 4.2.0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]