I have just updated contacts to 3.4.0 version.
In the Web GUI, I upload an new picture for a contact.
When I synchronize the contract on my Android 10 smarphone with DAVx5 3.3.1-ose, the old picture is deleted but the new one does not appear. So the contact has not picture anymore.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
We should see the new picture uploaded into the Web GUI
Actual behavior
The is no picture as if it was deleted
Operating system: Linux Debian 10 up to date
Web server: Apache
Database: MariaDB
PHP version: 7.3
Nextcloud version: 19.0.3
Contacts version: 3.4.0
Updated from an older Nextcloud or fresh install: Updated
Signing status:
```
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
No errors have been found.
List of activated apps:
Enabled:
Nextcloud configuration:
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"nextcloud.lejeune.pl"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"dbtype": "mysql",
"version": "19.0.3.1",
"overwrite.cli.url": "https:\/\/nextcloud.lejeune.pl",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"maintenance": false,
"mail_smtpmode": "smtp",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_sendmailmode": "smtp",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"mail_smtpsecure": "ssl",
"has_rebuilt_cache": true,
"twofactor_enforced": "true",
"twofactor_enforced_groups": [
"DoubleAuth"
],
"twofactor_enforced_excluded_groups": [
"SimpleAuth"
],
"theme": "",
"loglevel": 2,
"updater.release.channel": "stable"
}
}
Browser: Firefox 81.0 (64 bits)
Operating system: Xubuntu 20.04.1 LTS
CardDAV-clients: DAVx5 3.3.1-ose
Could you share the contact with the picture please?
[email protected]
I don't know how to share a contact.
But to try it, I have generated a new contact with only a name and a picture and when I synchronized it, the picture is on my phone. But if I update the picture and synchronize again, the picture disappear and the new one is not on my phone.
The contacts where there is no picture anymore are the one who I have updated the picture after the update of the application to 3.4.0.
If I want to update the picture and synchronize it with my Android Smartphone, instead of updating it into the Web GUI of Nextcloud, I have to delete it and import a new one. If I import a new picture on the old one without deleting it before, the new picture is not synchronized on my smartphone and the old one disapear.
So, to sum it up:
Please export the contacts before and after it doesn't sync anymore so I can compare.
You can download them from the Nextcloud app or export them from your Android device
You can attach them here as `.txt. if yuo want or send them as attachements to my mail above :rocket:
No: So, to sum it up:
And:
But If I do all this after the migration, it is the same:
And if instead of update the picture, I delete it and upload a new one, the sync is OK and the new picture is on the phone.
I tried to update the phone number or the email address of an existing contact and this modification is synchronized on the phone with no issue.
I don't know the vcard version. I am using Nextcloud 19.0.3, Contacts 3.4.0, Davx5 3.3.2-ose now and Android 10 with Google contacts 1.7.31
Export after picture delete and import.vcf.txt
Export after picture update.vcf.txt
Export before picture update.vcf.txt
"Export before picture update.vcf.txt"
--> I have the picture on my phone after sync
I upload a new picture instead of the existing one without deleting it before:
"Export after picture update.vcf.txt"
--> The is no picture anymore on my phone after sync
I delete the picture and upload the same one:
"Export after picture delete and import.vcf.txt"
--> The new picture is on my phone.
I hope my explanations are clear.
Regards,
i can't replicate this when uploading an image manually, however, when syncing an image from twitter (or any available social network) what i have found is that two PHOTO fields are created.
one with the encoded image, and one empty field.
this empty field is causing images to not render in one of my address book clients.
if you later delete the photo, the empty PHOTO fields remain.
thus adding an image (even manually) later will not resolve the problem
however, when syncing an image from twitter (or any available social network) what i have found is that two
PHOTOfields are created.one with the encoded image, and one empty field.
cc @call-me-matt
i am able to get it working with a few small changes. this seems to only affect vcard 3.0. will put up a PR shortly.
Most helpful comment
i am able to get it working with a few small changes. this seems to only affect vcard 3.0. will put up a PR shortly.