Physical addresses do not follow freedesktop.org specification

Bug #546858 reported by James Tait
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Servers
Triaged
Undecided
Ubuntu One Client Engineering team

Bug Description

When entering physical addresses in Ubuntu One contacts, the properties do not match the freedesktop.org specification.

  "addresses": mergeable list of {
       {
           "city": string - City name,
           "description": string - "work", "home" or "other",
           "street": string - Street name,
           "state": string - State / Region name,
           "country": string - Country name,
           "postalcode": string - Postal code
       }
    },

Specifically, the properties address1 and address2 are provided, and the property street is not. Correspondingly, when I sync from my desktopcouch instance, the street property is ignored by Ubuntu One.

Tags: desktop+
James Tait (jamestait)
visibility: private → public
Revision history for this message
Rodrigo Moya (rodrigo-moya) wrote :

Evolution has 2 fields for street, so in evolution-couchdb we merge them when saving to couchdb, and separate them (separated by \n) when sending it to evolution. So, I guess the best way would be to replace the addr1/addr2 with a multiline 'Street' field.

Or maybe we need to update the spec? What does the contacts web code use as field names internally?

Revision history for this message
James Tait (jamestait) wrote :

Thunderbird (2 at least, haven't looked at TB3 yet) has two fields as well:

  http://doxygen.db48x.net/comm-central/html/interfacensIAbCard.html

Currently Hedera is just saving (Home|Work)Address into doc.street and ignoring (Home|Work)Address2. It sounds like a spec update might be in order, but was it based on another established standard? It doesn't look like X.509.

John O'Brien (jdobrien)
Changed in ubuntuone-servers:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
tags: added: desktop+
Rick McBride (rmcbride)
Changed in ubuntuone-servers:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.