Feature #76925

Switching from one content type to another should clear fields not usable anymore

Added by Kai Kretschmann about 3 years ago. Updated over 1 year ago.

Status:
New
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-07-04
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When I create a new tt_content entry using the backend of TYPO3 7.6.9 - lets say a text&media entry. I attach/referenace an image to it save it and later on change my mind to switch to a content type header.

The image ist still referenced by the no more visible content, as seen in the ref counter on the FAL object. If I would want to delete the image I get a warning, even if it is no more in real use.

By switching the content type I get a warnin popup about a refresh required, it could be extended to a warning "unused fields will be purged".


Related issues

Related to TYPO3 Core - Bug #73630: flexform data is not deleted when changing plugin Accepted 2016-02-23
Related to TYPO3 Core - Bug #20493: flexform ds remains even if the plugin changes Rejected 2009-05-22
Related to TYPO3 Core - Bug #79427: Non-plugin content elements not accessible when list_type not empty New 2017-01-23

History

#1 Updated by Georg Ringer about 3 years ago

I am not sure if you have thought about all side effects:

  • This has been the case since day 1 and it is also a great feature as those values could be used later again
  • What about editor permissions: So an editor can only change the images but not the title. should then the title be removed?

#2 Updated by Riccardo De Contardi about 2 years ago

  • Assignee set to Benni Mack

#3 Updated by Riccardo De Contardi almost 2 years ago

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

#4 Updated by Riccardo De Contardi almost 2 years ago

an unwanted side effect is reported here: #79427

#5 Updated by Susanne Moog over 1 year ago

  • Category set to FormEngine aka TCEforms

Also available in: Atom PDF