You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2015/11/21 13:27:11 UTC

[jira] [Commented] (CB-8290) Cordova contacts plugin crashes if any one has a contact name with new line chars.

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

Vladimir Kotikov commented on CB-8290:
--------------------------------------

[~rameezraja], I can't reproduce this, since the iOS seems to not give a way to create a contact with newline symbols. How did you managed to do that?

> Cordova contacts plugin crashes if any one has a contact name with new line chars. 
> -----------------------------------------------------------------------------------
>
>                 Key: CB-8290
>                 URL: https://issues.apache.org/jira/browse/CB-8290
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Contacts
>         Environment: iPhone 4, 5, 6
>            Reporter: Rameez Raja
>              Labels: cannot-reproduce, iOS, triaged
>
> When i tried to search contacts using cordova contacts plugin, it crashes when a contact has line break chars in its name (i.e. formatted, given, family etc). For example i have a contact name in phone ABC<press return>DEF.
> Cordova plugin is returning this name as 
> ...
> name: {
>    formatted: 'ABC\U2028DEF'
>    ...
> }
> ...
> which is causing issue. Because it is not a valid JSON object.



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