[
https://issues.apache.org/jira/browse/CB-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Grieve resolved CB-6007.
-------------------------------
Resolution: Fixed
Fix Version/s: 3.5.0
> If cordova.js is referenced using cache bust the plugin path is derived
> incorrectly.
> ------------------------------------------------------------------------------------
>
> Key: CB-6007
> URL: https://issues.apache.org/jira/browse/CB-6007
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS
> Affects Versions: 3.3.0
> Reporter: Rik Schennink
> Assignee: Andrew Grieve
> Fix For: 3.5.0
>
>
> The path below functions correctly.
> "vendor/apache/ios/cordova.js" -> "vendor/apache/ios"
> The following path returns 'null'.
> "vendor/apache/ios/cordova.js?bust=v1.1"
> Problem is located in 'findCordovaPath()' line '1369'. Adding the following
> line of js before the if statement fixes the problem for me (could probably
> be optimised).
> {code}
> // make sure querystring parameters are not taken into account in the
> comparison
> src = src.indexOf('?') !== -1 ? src.split('?')[0] : src;
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)