ajax error when displaying a webform with address field

Created on 13 September 2022, almost 2 years ago
Updated 16 January 2023, over 1 year ago

I get an ajax error trying to fill out a webform on a view_mode_page.
Specifically with an address field on the webform.
When selecting a country, it ajax-submits to fetch the correct address fields.
That one errors out with the cryptic "An unrecoverable error occurred. The uploaded file likely exceeded the maximum file size (@size) that this server supports."
There are no file uploads whatsoever on my webform...

The webform itself works fine when using directly through webform.
It also works fine when using it placed via a block or paragraphs on a page.
It only fails when using it on a display mode rendered through view_mode_page.

I managed to debug it to view_mode_page: MainController.php: displayEntity(): line 89:
$response = $this->httpKernel->handle($sub_request, HttpKernelInterface::SUB_REQUEST);
But I'm stuck debugging this any further...

Could someone help to get this fixed?

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium weseze

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024