cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10658) Plugin restore fails under MobileChromeApps `cca` tool
Date Fri, 10 Mar 2017 05:21:37 GMT

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

ASF GitHub Bot commented on CB-10658:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cordova-lib/pull/397


> Plugin restore fails under MobileChromeApps `cca` tool
> ------------------------------------------------------
>
>                 Key: CB-10658
>                 URL: https://issues.apache.org/jira/browse/CB-10658
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>            Reporter: Jeffrey Yang
>            Priority: Trivial
>              Labels: pendingPR, triaged
>             Fix For: 6.0.0
>
>
> When preparing a MobileChromeApps-wrapped project, plugins from the config.xml are found,
but restoration fails because the `cca` tool injects additional search paths, which causes
plugman/fetch.js to throw an error. 
> https://github.com/apache/cordova-lib/blob/6.0.x/cordova-lib/src/plugman/fetch.js#L199
.
> I propose removing the error and simply emit a warning and continue with the cached localPlugin
object.
> In this particular case, the `cca` tool adds the same search path twice (once via `opts`,
other via `config_json`).  While it would be good to also file a bug in the MobileChromeApps
project, it's been stated that the project is no longer being actively maintained.



--
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


Mime
View raw message