post by bgeneto on Feb 1, 2024

Hi!

While enabling CSRF with CI4 and estabilishing a setRelation for a field, the quick search transforms into a combo box as usual. Problem is: if you click in the first (empty) option to clear the filter it triggers a “Not well JSON formatted response” error. I’ve noticed that this single click generates two or even more xhr requests instantly (one of them is a 303). Steps to reproduce:

  1. Enable CSRF in CI4 via Config\Filters ;
  2. Use setRelation() in any field (GCE v3.1.0).
  3. Filter that field.
  4. Clear the filtering by clicking on the first (empty) combo option.
  5. “Not well JSON formatted response” appears.

Thanks for looking into this issue.
Bernhard Enders.

post by johnny on Feb 3, 2024

Hello @bgeneto and thank you for the detailed steps to reproduce :pray:

Yes it is reproducible. Very weird one. Will investigate and keep you updated.

Regards
Johnny

post by johnny on Feb 10, 2024

Hello @bgeneto ,

Glad to inform you that version 3.1.1 is now released and it is also including this change.

Regards
Johnny

1 / 3
Feb 2024