Open jbonlinea opened 1 year ago
@jbonlinea Please could you give me clear steps to reproduce this? It's really hard to untangle what you mean. Cheers!
I'll try but it is very very basic
--- loop ---
now re-edit the participant in civi
-> in wp the field "event id" and "existing contacct" are empty (again)
now re-re-edit the participant in civi
-> in wp the field "event id" and "existing contacct" are populated (again)
--- enf of loop ---
While facing this behavior, the other field are synced properly.
Note that this testin is done on a set up where there are acf-civi custom field synced, and they are also synced properly (but I need to let you know that)
Also note that this has happened and still event after I made sure everything was up-to-date (but it not the case now (acf pro is 6.0.4 ; acfe pro is 0.8.8.10 ; civi 5.55.1 ; wp-civi-sync 0.6.1.a downloaded from here at least the day when I opened the issue)
Let me know if you need more details.
Cheers
Hi there,
I'm getting into the participant CPT sync feature.
I did have set it up according to the documentation, and have mapped some custom field. For the record, I do have a radio field and a file field and they are properly mapped/synced ! Excelent !
The issue is that when I edit a participant in Civi, some fields like the "origine of the participant" or my custom fields (both radio or file), the changes are well saved in Civi and synced into WP-CPT, however some "participant data" (so your field) are cleared in wp.
It is repeatable and always related to the "CiviCRM Event" and the "CiviCRM Contact" field.
Saving the participant twice in CiviCRM restore the proper data in the wp-cpt.
I have been doing quite a bit of testing with the same result redundantly.
It also ocurs for participant role, but only the first time when creating a new participant in Civi, then the role remains
I don't thing I've set something wrong, but it might be so ?!
Let me know if I can do any testing for you, or look for some logs that might be of interest !
Cheers