[ 
https://issues.apache.org/jira/browse/CB-3026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13647095#comment-13647095
 ] 

Sam Breed commented on CB-3026:
-------------------------------

So this issue seems to be causing a JavaScript error in 2.7.2 which stops 
execution before `deviceready` fires. I've been able to reproduce this in iOS 
and Android through `cordova ripple` and `cordova serve`.

Here's the relevant code that's erroring, note that this isn't being caught by 
the try/catch block because the error is happening in a callback: 
https://github.com/apache/cordova-ios/blob/master/CordovaLib/cordova.ios.js#L6394-L6414
 and here's a test case proving I'm not crazy: 
http://jsbin.com/eyureb/1/edit?javascript
                
> When debugging/developing in browser using Ripple Chromium extension - HTTP 
> 404 on cordova_plugins.json
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CB-3026
>                 URL: https://issues.apache.org/jira/browse/CB-3026
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 2.6.0
>         Environment: (arch)Linux, 64-bit, Android SDK v21~
>            Reporter: Nik Smile
>            Assignee: Filip Maj
>            Priority: Minor
>              Labels: build, javascript, patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Whenever the page loads it throws that 404: not found error, I'm assuming 
> it's because it's a file that get's generated for the actual build(.jar 
> file), which is missing when I debug/develop in browser - since it doesn't 
> seem to throw that error when in Android Emulator. Would it be possible to 
> just create an empty ({}) json file, perhaps by default( on 
> ./cordova/create)? Or will that break things?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to