You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Steve Gill (JIRA)" <ji...@apache.org> on 2017/04/24 22:43:04 UTC

[jira] [Updated] (CB-12170) plugin install doesn't wait for promise to resolve

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

Steve Gill updated CB-12170:
----------------------------
    Description: 
The plugin install flow doesn't wait for https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/fetch.js#L183 promise to complete. Need to audit the promise flow here and fix it. 

UPDATE:
This seems to be an issue due to platform level scripts doing async operations. They shell out and don't wait for promises to resolve. Marking this as won't fix since we should really review all platform level scripts to make sure they are synchronous 

  was:The plugin install flow doesn't wait for https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/fetch.js#L183 promise to complete. Need to audit the promise flow here and fix it. 


> plugin install doesn't wait for promise to resolve
> --------------------------------------------------
>
>                 Key: CB-12170
>                 URL: https://issues.apache.org/jira/browse/CB-12170
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>            Reporter: Steve Gill
>            Assignee: Audrey So
>              Labels: cordova-7.0.0
>
> The plugin install flow doesn't wait for https://github.com/apache/cordova-lib/blob/master/cordova-lib/src/plugman/fetch.js#L183 promise to complete. Need to audit the promise flow here and fix it. 
> UPDATE:
> This seems to be an issue due to platform level scripts doing async operations. They shell out and don't wait for promises to resolve. Marking this as won't fix since we should really review all platform level scripts to make sure they are synchronous 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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