Project

General

Profile

Actions

Bug #77414

closed

Changing from a flexform plugin to a non-flexform plugin does not clear the flexform settings in tt_content, maybe leading to unexpected behaviour

Added by Stefan P over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-08-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

I discovered the following behaviour in TYPO3 6.2.26. It's possible that this behaviour is also present in later versions.

When having a plugin on a page that has flexform settings and changing this plugin to another one without flexform settings, the pi_flexform field in tt_content is not cleared/invalidated.

Most of the time this has no consequences, but taken the case the first plugin had switchable controller actions leads to the second plugin throwing an exception that the default controller could not be determined because the pi_flexform field is still evaluated even it is a leftover from the first plugin.

This caused 2 hours of debugging for me because the exception siuggested that ext_localconf.php had a typo or something which was not the case. Either the pi_flexform field shuld be emptied when changing a plugin from one to another or the pi_flexform field should only be evaluated if the current plugin actually has flexform settings.


Related issues 1 (1 open0 closed)

Is duplicate of TYPO3 Core - Bug #73630: flexform data is not deleted when changing pluginAccepted2016-02-23

Actions
Actions #1

Updated by Wouter Wolters over 7 years ago

  • Status changed from New to Closed

I'm closing this issue because there are already several tickets about this behaviour. See for example https://forge.typo3.org/issues/73630
Please continue there. Thanks.

Actions

Also available in: Atom PDF