Bug #95733
closedForm name shows double apostrophe
100%
Description
With following YAML form definition:
renderingOptions: submitButtonLabel: 'Confirmer mon inscription' type: Form identifier: registration label: 'Ouverture d''un compte' prototypeName: standard
The Backend shows a double apostrophe:
Files
Updated by Guido Schmechel about 3 years ago
The problem is that in typo3/sysext/form/Classes/Mvc/Persistence/FormPersistenceManager.php in the function loadMetaData() the content of the file is read 1:1. The following helped me to get the problem under control:
$yamlFileLoader = GeneralUtility::makeInstance(YamlFileLoader::class);
$yaml = $yamlFileLoader->load(Environment::getPublicPath() . $file->getPublicUrl());
Of course, this had to be included cleanly via dependency injection and also the setting of the path probably needs to be queried better. But with the use of the YamlFileLoader the problem can be solved.
Updated by Björn Jacob over 2 years ago
- Sprint Focus set to Remote Sprint
Confirmed as well. I have created a new form (via form editor) and named it "Ouverture d''un compte".
Updated by Gerrit Code Review over 2 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73688
Updated by Gerrit Code Review over 2 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/73712
Updated by Ralf Zimmermann over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset ee8e6ec088900e4997b8ffedec52454d05a03c2a.