cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko Raatikka (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-7858) Windows Phone 8 - Unless specified before all other plugins, 'onload=true' plugins will not run OnInit()
Date Thu, 20 Nov 2014 21:45:33 GMT

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

Marko Raatikka edited comment on CB-7858 at 11/20/14 9:44 PM:
--------------------------------------------------------------

I came across this issue recently and it turned out to be a rather hairy one to hunt down.
I created a PR for it over at Github: https://github.com/apache/cordova-wp8/pull/64. As Matthew
mentioned earlier the issue can be easily fixed by replacing TakeWhile with Where.


was (Author: mmrko):
I came across this issue recently and it turned out to be a rather hairy one to hunt down.
I created a PR over at Github for the issue: https://github.com/apache/cordova-wp8/pull/64.
As Matthew mentioned earlier the issue can be easily fixed by replacing TakeWhile with Where.

> Windows Phone 8 - Unless specified before all other plugins, 'onload=true' plugins will
not run OnInit()
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CB-7858
>                 URL: https://issues.apache.org/jira/browse/CB-7858
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP8
>    Affects Versions: 3.5.0
>            Reporter: Matthew Simmons
>            Assignee: Jesse MacFadyen
>            Priority: Minor
>
> On Windows Phone 8, WPCordovaClassLib.CordovaLib.ConfigHandler.AutoLoadPlugins contains
a LINQ query using TakeWhile
> TakeWhile will stop execution once it finds an item that does not match the predicate,
meaning any autoLoad plugin would have to be specified before all other plugins that do not
specify autoLoad
> Using Where instead of TakeWhile should fix this issue since Where will return all matches



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message