cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Simmons (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-7858) Windows Phone 8 - Unless specified before all other plugins, 'onload=true' plugins will not run OnInit()
Date Thu, 23 Oct 2014 19:32:34 GMT
Matthew Simmons created CB-7858:
-----------------------------------

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