NdheerajNagar / ez-vcard

Automatically exported from code.google.com/p/ez-vcard
0 stars 0 forks source link

Organization components separated by "," instead of ";" #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create new empty test project, import ez-vcard/0.9.1
2. Use this code:

public static void main(String[] args) {
    // taken from example in Javadocs for Organization
    VCard vcard = new VCard();
    Organization org = new Organization();
    org.addValue("Google");
    org.addValue("GMail Team");
    org.addValue("Spam Detection Team");
    vcard.setOrganization(org);

    System.out.println(Ezvcard.write(vcard).version(VCardVersion.V3_0).go());
}

What is the expected output?

BEGIN:VCARD
VERSION:3.0
ORG:Google;GMail Team;Spam Detection Team
PRODID:ezvcard 0.9.1
END:VCARD

What is the actual output?

BEGIN:VCARD
VERSION:3.0
ORG:Google,GMail Team,Spam Detection Team
PRODID:ezvcard ${version}
END:VCARD

What version of ez-vcard are you using?
0.9.1

What version of Java are you using?
* OpenJDK 1.7.0
* Android 4.0+ (Java 6)

Original issue reported on code.google.com by i...@bitfire.at on 25 Jan 2014 at 12:02

GoogleCodeExporter commented 9 years ago
Fixed in r852, thanks.

Original comment by mike.angstadt on 3 Feb 2014 at 3:40