[jira] [Commented] (CB-10308) Unable to parse multi dimensional arrays with more than 2 levels

2016-02-06 Thread cyril souti (JIRA)

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

cyril souti commented on CB-10308:
--

Somebody has this issue : ../CDVBridge.m:21:9: fatal error: 
'JavascriptCore/JavascriptCore.h' file not found
 [exec] #import 

With OSX 10.11.13, cordova 6.0.0, Xcode 7.2.1 ?


> Unable to parse multi dimensional arrays with more than 2 levels
> 
>
> Key: CB-10308
> URL: https://issues.apache.org/jira/browse/CB-10308
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Sahil Bhardwaj
>Assignee: Tobias Bocanegra
>  Labels: OSX, easyfix
> Fix For: Master
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This bug entry corresponds to pull request 
> https://github.com/apache/cordova-osx/pull/29
> *Detail:*
> As we send arguments with commands to objc from javascript, current 
> implementation "convertWebScriptObjectToNSArray" and 
> "convertWebScriptObjectToNSDictionary" converts Javascript objects to 
> NSArray/NSDictionary but it doesn't parse the children at 2nd level and show 
> zero elements in there.
> *Input:*
> x = { a : { b: { c : "Hi" } } };
> *Output:*
> x = { a : { b :  { } } };
> *Solution:*
> Replace the current method with "[[webScriptObject JSValue] toArray]" which a 
> native method of apple webkit solves the problem.
> Please give a look at pull request
> https://github.com/apache/cordova-osx/pull/29



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

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



[jira] [Commented] (CB-10308) Unable to parse multi dimensional arrays with more than 2 levels

2016-01-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10308:
--

Commit 6370c1e13b98f0a7d91e3b8ba6fed3bb72f334c6 in cordova-osx's branch 
refs/heads/master from [~tripod]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;h=6370c1e ]

CB-10308 Unable to parse multi dimensional arrays with more than 2 levels

- adding tests


> Unable to parse multi dimensional arrays with more than 2 levels
> 
>
> Key: CB-10308
> URL: https://issues.apache.org/jira/browse/CB-10308
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Sahil Bhardwaj
>Assignee: Tobias Bocanegra
>  Labels: OSX, easyfix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This bug entry corresponds to pull request 
> https://github.com/apache/cordova-osx/pull/29
> *Detail:*
> As we send arguments with commands to objc from javascript, current 
> implementation "convertWebScriptObjectToNSArray" and 
> "convertWebScriptObjectToNSDictionary" converts Javascript objects to 
> NSArray/NSDictionary but it doesn't parse the children at 2nd level and show 
> zero elements in there.
> *Input:*
> x = { a : { b: { c : "Hi" } } };
> *Output:*
> x = { a : { b :  { } } };
> *Solution:*
> Replace the current method with "[[webScriptObject JSValue] toArray]" which a 
> native method of apple webkit solves the problem.
> Please give a look at pull request
> https://github.com/apache/cordova-osx/pull/29



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

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



[jira] [Commented] (CB-10308) Unable to parse multi dimensional arrays with more than 2 levels

2016-01-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-10308:
--

Commit 4b1b68e3644d7c4786f77ae83b5f17e16479567a in cordova-osx's branch 
refs/heads/master from [~tripod]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;h=4b1b68e ]

CB-10308 Unable to parse multi dimensional arrays with more than 2 levels

- enabling tests
- remove unused code


> Unable to parse multi dimensional arrays with more than 2 levels
> 
>
> Key: CB-10308
> URL: https://issues.apache.org/jira/browse/CB-10308
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Sahil Bhardwaj
>Assignee: Tobias Bocanegra
>  Labels: OSX, easyfix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This bug entry corresponds to pull request 
> https://github.com/apache/cordova-osx/pull/29
> *Detail:*
> As we send arguments with commands to objc from javascript, current 
> implementation "convertWebScriptObjectToNSArray" and 
> "convertWebScriptObjectToNSDictionary" converts Javascript objects to 
> NSArray/NSDictionary but it doesn't parse the children at 2nd level and show 
> zero elements in there.
> *Input:*
> x = { a : { b: { c : "Hi" } } };
> *Output:*
> x = { a : { b :  { } } };
> *Solution:*
> Replace the current method with "[[webScriptObject JSValue] toArray]" which a 
> native method of apple webkit solves the problem.
> Please give a look at pull request
> https://github.com/apache/cordova-osx/pull/29



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

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



[jira] [Commented] (CB-10308) Unable to parse multi dimensional arrays with more than 2 levels

2016-01-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-10308:
-

Github user sahilrulzs commented on the pull request:

https://github.com/apache/cordova-osx/pull/29#issuecomment-169554517
  
Here you go: https://issues.apache.org/jira/browse/CB-10308


> Unable to parse multi dimensional arrays with more than 2 levels
> 
>
> Key: CB-10308
> URL: https://issues.apache.org/jira/browse/CB-10308
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: OSX
>Affects Versions: Master
>Reporter: Sahil Bhardwaj
>Assignee: Tobias Bocanegra
>  Labels: OSX, easyfix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> This bug entry corresponds to pull request 
> https://github.com/apache/cordova-osx/pull/29
> *Detail:*
> As we send arguments with commands to objc from javascript, current 
> implementation "convertWebScriptObjectToNSArray" and 
> "convertWebScriptObjectToNSDictionary" converts Javascript objects to 
> NSArray/NSDictionary but it doesn't parse the children at 2nd level and show 
> zero elements in there.
> *Input:*
> x = [{ a : { b: { c : "Hi" } } }]
> *Output:*
> x = [{ a : { b :  { } } }]
> *Solution:*
> Replace the current method with "[[webScriptObject JSValue] toArray]" which a 
> native method of apple webkit solves the problem.
> Please give a look at pull request
> https://github.com/apache/cordova-osx/pull/29



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

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