Skip to content
New issue

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

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

Already on GitHub? # to your account

Using a section in a flexform do not process the flexform #316

Open
asakurayoh opened this issue Dec 5, 2024 · 7 comments
Open

Using a section in a flexform do not process the flexform #316

asakurayoh opened this issue Dec 5, 2024 · 7 comments
Labels
duplicate This issue or pull request already exists

Comments

@asakurayoh
Copy link

Describe the bug
I tried using the example defined here: https://docs.typo3.org/p/friendsoftypo3/content-blocks/main/en-us/YamlReference/FieldTypes/FlexForm/Section/Index.html
When doing <f:debug>{_all}</f:debug> in the content frontend HTML, data._processed.pi_flexform is empty.

To Reproduce

  1. Using the example defined here: https://docs.typo3.org/p/friendsoftypo3/content-blocks/main/en-us/YamlReference/FieldTypes/FlexForm/Section/Index.html
  2. Add data via TYPO3 backend.
  3. <f:debug>{_all}</f:debug> in the content frontend HTML

Expected behavior
The flexform should be processed and the data available.

TYPO3 Version

  • TYPO3 13.4.1, install via composer

Content Blocks Version:

  • Content Block 1.0.4, install via composer
@nhovratov
Copy link
Contributor

This is already fixed in Core and will be released next week with 13.4.2.

See related issues:

@nhovratov nhovratov added the duplicate This issue or pull request already exists label Dec 5, 2024
@asakurayoh
Copy link
Author

asakurayoh commented Dec 5, 2024

Thanks! As those issues didn't mention sections, I didn't know it was related!
Good job! Love Content Blocks!

@nhovratov nhovratov reopened this Dec 10, 2024
@nhovratov
Copy link
Contributor

Sorry, it seems sections still don't work after the update. I will investigate it.

@asakurayoh
Copy link
Author

Hey.
I've check the issue open here: https://forge.typo3.org/issues/105800
The "Translated to FlexForm XML definition" seem weird, compared to the exemple in the doc: https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/FlexForms/Index.html#steps-to-perform-extension-developer
Why is the fields nodes named "field" with an index of the name of the field, instead of being the name of the node?
Wondering if that could be the problem...

@nhovratov
Copy link
Contributor

@asakurayoh Hey, don't worry. We are already on it to fix it in Core. Regarding the "translated XML": This is an alternative syntax, which is automatically generated by TYPO3s array2Xml utility.

@libeocom
Copy link

@asakurayoh Hey, don't worry. We are already on it to fix it in Core. Regarding the "translated XML": This is an alternative syntax, which is automatically generated by TYPO3s array2Xml utility.

Haha! Ok, thanks!
I just never see that syntax and I didn't find it in the documentation. Just wanted to help... Badly :D

@nhovratov
Copy link
Contributor

See Forge issue ticket: https://forge.typo3.org/issues/105800
The problem is really that sections aren't implemented at all.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants