incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon MacDonald (JIRA)" <>
Subject [jira] [Resolved] (CB-1481) ContactName - name.formatted returns with a trailing white space
Date Tue, 18 Sep 2012 02:14:07 GMT


Simon MacDonald resolved CB-1481.

    Resolution: Fixed

Removed the offending trailing space.
> ContactName - name.formatted returns with a trailing white space
> ----------------------------------------------------------------
>                 Key: CB-1481
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>            Reporter: Valter Vicente
>            Assignee: Simon MacDonald
>            Priority: Minor
>             Fix For: 2.2.0
> I'm developing an application for Android and iOS and since displayName is not available
in iOS, I'm using name.formatted which works in both. But while my iOS application was working
as expected, the Android one wasn't and I found out that that's because when name.formatted
is retrieved, it comes with a trailing white space.
> Apply a jQuery trim is an obvious workaround, but it's a simple bug to solve and maybe
it will benefit everyone, who will not waste time with it - I wasted about an hour trying
to figure it out what was happening.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message