cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Piotrowski (Sujan) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-13272) Doesn't load config.xml if app is loaded from a subdirectory
Date Wed, 13 Sep 2017 13:17:00 GMT

     [ https://issues.apache.org/jira/browse/CB-13272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jan Piotrowski (Sujan) reassigned CB-13272:
-------------------------------------------

    Assignee: Jan Piotrowski (Sujan)

> Doesn't load config.xml if app is loaded from a subdirectory
> ------------------------------------------------------------
>
>                 Key: CB-13272
>                 URL: https://issues.apache.org/jira/browse/CB-13272
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-browser
>    Affects Versions: cordova@7.0.0
>         Environment: Ionic CLI: 3.10.1
> Cordova CLI: 7.0.1
> Node: 7.2.1
> Cordova Platforms: android 6.1.2 browser 4.1.0
>            Reporter: Brad Gies
>            Assignee: Jan Piotrowski (Sujan)
>            Priority: Minor
>
> After uploading an app to a subdirectory of the website public root IE... mydomain.com/store/config.xml
the app attempts to load the config.xml from the public root IE. mydomain.com/config.xml.
> Note this is an Ionic 3/Angular 4 app, and built using the command "ionic cordova build
browser --prod --release" 
> In my uploaded app, the offending line was this one (line 875 in my file, function readConfig)
>     try {
>         xhr.open("get", "/config.xml", true);
>         xhr.send();
>     } catch(e) {
>         fail('[Browser][cordova.js][readConfig] Could not XHR config.xml: ' + JSON.stringify(e));
>     }
> I could list the URL to view the error here, but that app will change often, and it's
easy to reproduce. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message