FossifyOrg / Contacts

Easy and quick contact management with no ads, handles groups and favorites too.
https://www.fossify.org
GNU General Public License v3.0
245 stars 23 forks source link

Automatic backup file cannot be imported (failed) #140

Closed Achim242 closed 1 week ago

Achim242 commented 1 week ago

Checklist

Affected app version

1.0.1

Affected Android/Custom ROM version

Android 13 / VollaOS.13

Affected device model

Vollaphone X23

How did you install the app?

None

Steps to reproduce the bug

1.) Activate automatic backup 2.) Try to import the latest backup file (there was a data loss) 3.) Error message: Import failed

Expected behavior

Successful import of the automatically created vcf backup file

Actual behavior

The import of a manually exported backup file is successful. The import of an automatically generated backup file fails, because it has a different structure to that of a manually exported vcf file.

Here is a screenshot of the difference between the two .vcf files.

Screenshot_20240703-140953_Dateimanager_1_1

Manual Export vcf. (succesfully) 👆

Screenshot_20240703-141054_Dateimanager_1_1

Automatic backup file (failed) 👆

The fossify apps are integrated into Vollaphone as system apps by default. There are several users in the Volla telegram community who report the same problem.

Thanks for reading I hope you can explain or fix the problem.

Best regards Marcus, from the Vollaphone community

Screenshots/Screen recordings

No response

Additional information

No response

franco-bez commented 1 week ago

I can confirm this issue.

It seems that the automatic backup writes some JSON data but gives it the file extension .vcf .

There is no option to restore the data from the automatic backup files and the manual import fails due to the wrong file format.

Aga-C commented 1 week ago

It will be fixed in the next version: https://github.com/FossifyOrg/Contacts/issues/31.