Public bug reported:

The 'org' entry (Organization) is not handled correctly.

Steps to reproduce:
Enter in  python interpreter:

import vobject
v = vobject.vCard()
v.add("fn").value = "s"
v.add("n").value = vobject.vcard.Name("s", "s", "s")
v.add("org").value = "TEST"
v.add("title").value = "test"
print vobject.readOne(v.serialize())
<VCARD| [<VERSION{}3.0>, <FN{}s>, <N{} s s s >, <ORG{}[u'T', u'E', u'S', 
u'T']>, <TITLE{}>, <TITLE{}test>]>

note the different handling of the org and test value. Note also that it
is impossible to add a string that is handled as a string.

** Affects: python-vobject (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1010104

Title:
  org element is not handled correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-vobject/+bug/1010104/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to