Project

General

Profile

Actions

Bug #91997

closed

New content element wizard - saveAndClose - pi_flexform

Added by Roman Büchler almost 4 years ago. Updated about 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2020-08-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When using the saveAndClose feature for the new content element wizard the configured flexform isn't initialized.

Possible use case where this should work: A structure element based on extension container using flexform for its configuration.


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #95628: NewContentElementController's "saveAndClose" functionality does create content elements with setting pi_flexform in tt_content to nullClosed2021-10-13

Actions
Actions #1

Updated by Georg Ringer almost 4 years ago

  • Status changed from New to Needs Feedback

thanks for creating the issue. I would suggest to use the TCA field default to pass the xml or use a datahandler. would it be fine for you to close the issue?

Actions #2

Updated by Roman Büchler almost 4 years ago

Hi Georg, thank you for the feedback. From my side this can be closed, too.

P.S. I solved it with a data handler: https://github.com/buepro/typo3-container_elements/blob/1.0.0/Classes/Hooks/DataHandlerHook.php

Actions #3

Updated by Anonymous almost 4 years ago

Georg Ringer wrote:

thanks for creating the issue. I would suggest to use the TCA field default to pass the xml or use a datahandler. would it be fine for you to close the issue?

I am sorry to say it but I disagree. The flag's name is "saveAndClose". One expect it to behave like a manual save and Close action.

Actions #4

Updated by Georg Ringer about 2 months ago

  • Status changed from Needs Feedback to Closed

closing issue because the saveandclose is IMO really more meant to be as a simple element, otherwise use hooks as described by roman

Actions #5

Updated by Georg Ringer about 1 month ago

  • Has duplicate Bug #95628: NewContentElementController's "saveAndClose" functionality does create content elements with setting pi_flexform in tt_content to null added
Actions

Also available in: Atom PDF