You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/11/27 14:57:10 UTC
[jira] [Commented] (CB-10094) There are two spaces in contact's
formatted name if middle name is empty string
[ https://issues.apache.org/jira/browse/CB-10094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15029893#comment-15029893 ]
ASF GitHub Bot commented on CB-10094:
-------------------------------------
GitHub user alsorokin opened a pull request:
https://github.com/apache/cordova-plugin-contacts/pull/91
CB-10094 Android: Fixed empty string comparison
https://issues.apache.org/jira/browse/CB-10094
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-plugin-contacts CB-10094
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-contacts/pull/91.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #91
----
commit 4b3d9709ca41b32cb34cbe0d9e4a7245ebcdf848
Author: Alexander Sorokin <al...@akvelon.com>
Date: 2015-11-27T13:49:22Z
CB-10094 Android: Fixed empty string comparison
----
> There are two spaces in contact's formatted name if middle name is empty string
> -------------------------------------------------------------------------------
>
> Key: CB-10094
> URL: https://issues.apache.org/jira/browse/CB-10094
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin Contacts
> Affects Versions: Master
> Reporter: Alexander Sorokin
> Assignee: Alexander Sorokin
>
> Repro steps:
> create and run a mobilespec app with contacts plugin:
> {noformat}
> node cordova-mobile-spec/createmobilespec/createmobilespec.js mobilespec --android --plugins="cordova-plugin-contacts"
> cd mobilespec
> cordova run
> {noformat}
> Then go to contacts plugin manual tests and create a 'Dooney Evans' contact.
> Then try to delete it.
> Expected result:
> Contact with the name of Dooney Evans is deleted.
> Actual result:
> Contact is not deleted because returned formatted name contains two spaces in it instead of one:
> https://yadi.sk/i/Fk1pZYRfkn65L
--
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