You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2/ Create a server.php based on ./vendor/sabre/dav/examples/addressbookserver.php, setup mysql as backend
3/ Create a "sabredav" database and load ./vendor/sabre/dav/examples/sql/mysql.*.sql
4/ Use the browser plugin to login as admin/admin
5/ Create a "Test" addressbook and upload the attached test.vcf (renamed to .txt so I can attach to github). test.vcf.txt
This .vcf file was checked with vobject validate
vobject validate test.vcf
sabre/vobject 4.1.0
vCard: 3.0
No warnings!
6/ Check the mysql database, in the vcards table for this card. The contents of "cardsdata" are attached as cards-carddata.bin.txt (they are identical to test.vcf) cards-carddata.bin.txt
7/ Download the card again, I used the browser plugin. The resulting card is attached as test-get.vcf.txt test-get.vcf.txt
This card is no longer the original card or what's stored in the mysql db. See the diff
This is a followup for https://groups.google.com/d/msg/sabredav-discuss/VTqllUhSl4k/rwNE8TUcAgAJ
To reproduce the problem, I did the following
1/ create composer.json pulling in sabre/dav 3.1.*
2/ Create a server.php based on ./vendor/sabre/dav/examples/addressbookserver.php, setup mysql as backend
3/ Create a "sabredav" database and load ./vendor/sabre/dav/examples/sql/mysql.*.sql
4/ Use the browser plugin to login as admin/admin
5/ Create a "Test" addressbook and upload the attached test.vcf (renamed to .txt so I can attach to github).
test.vcf.txt
This .vcf file was checked with vobject validate
6/ Check the mysql database, in the vcards table for this card. The contents of "cardsdata" are attached as cards-carddata.bin.txt (they are identical to test.vcf)
cards-carddata.bin.txt
7/ Download the card again, I used the browser plugin. The resulting card is attached as test-get.vcf.txt
test-get.vcf.txt
This card is no longer the original card or what's stored in the mysql db. See the diff
So it seems the card is automatically "repaired" on retrieval for some reason.
The text was updated successfully, but these errors were encountered: