iO builder can interfere with other AJAX requests for anonymous users, causing them to be blocked

Created on 1 July 2024, 6 months ago

When submitting an ajax request that renders a component with the renderer that has iO builder enabled, the iO builder will attempt to check if it is enabled by the current user. This can throw an error if there is no symfony session present in the current request. It will result in a fatal error and the ajax response will not be sent.

We should add a try ... catch for this function on the session, and return false when it catches because that implies the iO builder is not enabled.

🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇧🇪Belgium mauro_

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024