Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prodid doesn't set the value i give it... #20

Closed
GoogleCodeExporter opened this issue Mar 21, 2015 · 1 comment
Closed

Prodid doesn't set the value i give it... #20

GoogleCodeExporter opened this issue Mar 21, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Create a prodidtype and set it to vcard

What is the expected output?
the string "xxxxxxx"

What is the actual output?
ez-vcard 0.8.3

What version of ez-vcard are you using?
ez-vcard 0.8.3

What version of Java are you using?
1.6

Please provide any additional information below.


Original issue reported on code.google.com by xaviour....@gmail.com on 17 Sep 2014 at 5:23

@GoogleCodeExporter
Copy link
Author

Hello,

If you are defining your own PRODID property, set the "addProdId" flag to 
"false" before writing the vCard.  Otherwise, your PRODID property will be 
overwritten by ez-vcard's.

VCard vcard = ...
VCardWriter writer = new VCardWriter(...);
writer.setAddProdId(false);
writer.writer(vcard);

Ezvcard.write(vcard).prodId(false).go();

Original comment by mike.angstadt on 17 Sep 2014 at 1:46

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant