Imported address books will not sync via z-push
If you import a .vcf file containing address books into DaviCal a mobile attempting to sync it via Z-Push will never see the entries. Entries made on the mobile sync fine.
It appears that Z-Push is sending a "send me changes since x", and the import process is not setting that value in the tables to anything and thus those records are never selected.
I am trying to run this down more-accurately, but if so this should be a pretty simple fix in the import routine since my best guess is that the "changed at" time is all that's missing from the import process.
Update: I know what the problem is -- the "dav_name" field in the table caldav_data is getting set with an ".ics" extension for these contacts when the import occurs. That should be a ".vcf" extension -- and if I change it in the table manually, the contacts propagate.
This should be a relatively easy fix in the import process but I don't know where to look for, or change it (set the appropriate extension depending on the type of destination folder.)
Specifically....
davical=# begin;
BEGIN
davical=# update caldav_data set dav_name= regexp_replace(dav_name, '\.ics', '.vcf') where collection_id=2830 and dav_name like '%.ics';
UPDATE 226
davical=# commit;
(Where "collection_id" is the collection that you imported, of course.)