When using 'haste_ajax_operation' => [ ... ] as described in the docs toggling works as expected. But when inspecting the change in Contao's Dashboard the rt=... parameter is missing which causes an "invalid token" warning.
When performing the toggle with Contao core features (also as described in the docs) there is no missing rt parameter.
I originally found this with haste ^4.25, Contao 3.14 and PHP 8.1, but could also reproduce it with the current haste ^5.0 (and Contrao 4.13 with PHP 8.2).
If anybody could give me a hint where to start debugging, I'd be happy to help. For the moment, I'm lost :-(
When using
'haste_ajax_operation' => [ ... ]
as described in the docs toggling works as expected. But when inspecting the change in Contao's Dashboard thert=...
parameter is missing which causes an "invalid token" warning.When performing the toggle with Contao core features (also as described in the docs) there is no missing
rt
parameter.I originally found this with haste
^4.25
, Contao 3.14 and PHP 8.1, but could also reproduce it with the current haste^5.0
(and Contrao 4.13 with PHP 8.2).If anybody could give me a hint where to start debugging, I'd be happy to help. For the moment, I'm lost :-(