You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Valter Vicente (JIRA)" <ji...@apache.org> on 2012/09/17 13:17:08 UTC
[jira] [Created] (CB-1481) ContactName - name.formatted returns
with a trailing white space
Valter Vicente created CB-1481:
----------------------------------
Summary: ContactName - name.formatted returns with a trailing white space
Key: CB-1481
URL: https://issues.apache.org/jira/browse/CB-1481
Project: Apache Cordova
Issue Type: Bug
Components: Android
Affects Versions: 2.0.0
Reporter: Valter Vicente
Assignee: Joe Bowser
Priority: Minor
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: http://www.atlassian.com/software/jira
[jira] [Resolved] (CB-1481) ContactName - name.formatted returns
with a trailing white space
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: https://issues.apache.org/jira/browse/CB-1481
> 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: http://www.atlassian.com/software/jira
[jira] [Assigned] (CB-1481) ContactName - name.formatted returns
with a trailing white space
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald reassigned CB-1481:
-----------------------------------
Assignee: Simon MacDonald (was: Joe Bowser)
> ContactName - name.formatted returns with a trailing white space
> ----------------------------------------------------------------
>
> Key: CB-1481
> URL: https://issues.apache.org/jira/browse/CB-1481
> 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: http://www.atlassian.com/software/jira
[jira] [Updated] (CB-1481) ContactName - name.formatted returns
with a trailing white space
Posted by "Simon MacDonald (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon MacDonald updated CB-1481:
--------------------------------
Fix Version/s: 2.2.0
> ContactName - name.formatted returns with a trailing white space
> ----------------------------------------------------------------
>
> Key: CB-1481
> URL: https://issues.apache.org/jira/browse/CB-1481
> 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: http://www.atlassian.com/software/jira