Project

General

Profile

Actions

Bug #102972

open

Rendering Option addQueryString not working in form framework

Added by Mathias Blasek 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2024-01-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In Typo3 v12, I configured a form with addQueryString in the rendering Options. Before migrating, the form had the expected behaviour (get-Parameter add to the action url of form).

I debugged it and asserted that the call of UriBuilder returned the correct configuration which called the method createUrl of the class ContentObjectRenderer. There was a call for creating a link-object in the LinkFactory. However the factory made a call to PageLinkBuilder. I pointed out that the method generateUrlForPageWithSiteConfiguration didn't get the query-parameters of the request. The array queryParameters didn't contain the affected get-parameters.
So, the in the action of the form I'm missing the expected get-parameter of the previous request.

For reproducing create a form by using a yaml-configuration and call the page with one or more get-parameter.

No data to display

Actions

Also available in: Atom PDF