You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Grebnov (JIRA)" <ji...@apache.org> on 2013/12/03 08:31:36 UTC

[jira] [Commented] (CB-5525) WP8. Contacts Api fails in case of there is special character in contact field

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

Sergey Grebnov commented on CB-5525:
------------------------------------

Added fix via pull request below
https://github.com/apache/cordova-plugin-contacts/pull/14

> WP8. Contacts Api fails in case of there is special character in contact field
> ------------------------------------------------------------------------------
>
>                 Key: CB-5525
>                 URL: https://issues.apache.org/jira/browse/CB-5525
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts, WP8
>    Affects Versions: 3.2.0
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>
> Repro steps
> 1. Add "(double quote) character to some contact notes
> 2. Run mobile spec unit tests for contacts api
> 3. Expected: "contacts.spec.3 success callback should be called with an array" test is passed
> 4. Actual: there is exception when calling this.webBrowser.InvokeScript(script.ScriptName, script.Args) due to contact notes contains not escaped " character so resultant JSON is malformed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)