Feature #88908

Add "migration wizard" when changing CType of content elements

Added by Riccardo De Contardi over 1 year ago.

Status:
New
Priority:
Could have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2019-08-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When you modify the CType of a content element, the fields that are no more visible still retain their content;
think of example the switching from "Text" to "Header" : if something is written inside the bodytext, it is preserved, and if you switch back to Text again, the content is there.

This is a suggestion (very poor and early) to add a sort of "migration wizard" that should appear when you change the CType of an element

- the wizard should list the tt_content fields
- the wizard should suggest which content are no more available on the "target" CType (and vice versa)
- the wizard should suggest with a dropdown what to do for each element; the dropdown should have at least two values:
- the same field which means that the field content will be preserved
- empty which means that the field content will be lost

I attach here a couple of visual examples, just to visualize the idea.


Files

Headline-To-Text.png (45.1 KB) Headline-To-Text.png Riccardo De Contardi, 2019-08-03 15:44
Text-To-Headline.png (47.9 KB) Text-To-Headline.png Riccardo De Contardi, 2019-08-03 15:44

Related issues

Related to TYPO3 Core - Feature #76925: Switching from one content type to another should clear fields not usable anymoreNewBenni Mack2016-07-04

Actions
Related to TYPO3 Core - Bug #79427: Non-plugin content elements not accessible when list_type not emptyUnder Review2017-01-23

Actions
Related to TYPO3 Core - Bug #73630: flexform data is not deleted when changing pluginAccepted2016-02-23

Actions
Related to TYPO3 Core - Bug #71569: FrontendConfigurationManager::overrideSwitchableControllerActionsFromFlexForm does not check if plugin has flexformClosed2015-11-13

Actions
Related to TYPO3 Core - Bug #90194: Question / Bug? shortcut_mode still set (not "0") after switch page back to page of type "standard"Closed2020-01-24

Actions
#1

Updated by Riccardo De Contardi over 1 year ago

  • Related to Feature #76925: Switching from one content type to another should clear fields not usable anymore added
#2

Updated by Riccardo De Contardi over 1 year ago

  • Related to Bug #79427: Non-plugin content elements not accessible when list_type not empty added
#3

Updated by Riccardo De Contardi over 1 year ago

  • Related to Bug #73630: flexform data is not deleted when changing plugin added
#4

Updated by Riccardo De Contardi over 1 year ago

  • Related to Bug #71569: FrontendConfigurationManager::overrideSwitchableControllerActionsFromFlexForm does not check if plugin has flexform added
#5

Updated by Riccardo De Contardi 10 months ago

  • Related to Bug #90194: Question / Bug? shortcut_mode still set (not "0") after switch page back to page of type "standard" added

Also available in: Atom PDF