Feature #88908

Add "migration wizard" when changing CType of content elements

Added by Riccardo De Contardi 14 days ago.

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

0%

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.

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

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

Also available in: Atom PDF