- Issue created by @jaapjansma
- Status changed to Needs review
4 months ago 12:29pm 31 July 2024
At Amnesty Flanders we have backup solution in case CiviCRM is down for maintenance. We log the incoming API request via the API proxy. Previoulsy this works quite well as the Drupal 7 module, did send all data to CiviCRM. With this Drupal 9/10 module it first does a getFields call and then sends data. Resulting in an empty dataset when CiviCRM is down.
1. Make sure you have CiviCRM and CiviProxy setup
2. Enable api logging in CiviProxy
3. Set in CiviProxy a wrong SITE KEY
4. Submit a form.
Check your Proxy Log and the CMRF Call log both show that FormProcessor api call. However with empty data.
Remove the extra check for getFields when submitting a form. This is also a benefit for the performance.
Needs review
2.0
Code