Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 022521752A for ; Thu, 20 Nov 2014 22:17:35 +0000 (UTC) Received: (qmail 39204 invoked by uid 500); 20 Nov 2014 22:17:34 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 39185 invoked by uid 500); 20 Nov 2014 22:17:34 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 39170 invoked by uid 99); 20 Nov 2014 22:17:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Nov 2014 22:17:34 +0000 Date: Thu, 20 Nov 2014 22:17:34 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-7858) Windows Phone 8 - Unless specified before all other plugins, 'onload=true' plugins will not run OnInit() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-7858?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14220115#comment-14220115 ] ASF subversion and git services commented on CB-7858: ----------------------------------------------------- Commit 36282cdb1d26f845482438adbb78c6054dbffcfb in cordova-wp8's branch refs/heads/master from [~MMrko] [ https://git-wip-us.apache.org/repos/asf?p=cordova-wp8.git;h=36282cd ] Fix AutoloadPlugins Replace TakeWhile with Where to return all plugins for which onload="true". Fixes https://issues.apache.org/jira/browse/CB-7858. > 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