Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing form properties to the export #65

Open
guelzow opened this issue Oct 13, 2023 · 0 comments
Open

Add missing form properties to the export #65

guelzow opened this issue Oct 13, 2023 · 0 comments

Comments

@guelzow
Copy link

guelzow commented Oct 13, 2023

Hi everyone.

When using PHP 8.1 and TYPO3 11 you will get the dreaded array key error
here: https://github.com/frappant/frp_form_answers/blob/master/Classes/Controller/FormEntryController.php#L219
and here: https://github.com/frappant/frp_form_answers/blob/4.1.0/Classes/Controller/FormEntryController.php#L220
looking for 'filename' and 'charset'.

Our solution so far:
Feet the controller both values by adding them to the template
here: https://github.com/frappant/frp_form_answers/blob/4.1.0/Resources/Private/Backend/Templates/FormEntry/List.html#L32
with an additional

<f:form.hidden property="fileName" value="{formName}"/>
<f:form.hidden property="charset" value="" />

Tobi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant