Project

General

Profile

Actions

Feature #89375

open

TCA settings for cache invalidation and to run Handler for related records

Added by Christoph Lehmann about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
DataHandler aka TCEmain
Start date:
2019-10-08
Due date:
% Done:

0%

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

Description

I like to have new TCA setting(s) in select and group fields for

1) Automatic cache invalidation of related tables or
2) Running Datahandler Hooks (Trigger re-indexing of relations, etc.)

This should be realized in core to make extension development easier.

Maybe 2) is enough

'tags' => [
    'label' => 'select_single_12 foreign_table selicon_field',
    'config' => [
        'type' => 'select',
        'renderType' => 'selectSingle',
        'foreign_table' => 'xy_tags',
        'runHandlers' => 1                          <-- Run Handlers for "modified relations" 
        'flushCache' => 1                            <-- Flush cache for "modified relations" 
   ],
],

Modified relations can be received from \TYPO3\CMS\Core\DataHandling\DataHandler::$mmHistoryRecords

What do you think about it?


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #72179: Changing sorting of IRRE elements does not trigger cache clear cmdAccepted2015-12-11

Actions
Actions #1

Updated by Christoph Lehmann about 5 years ago

  • Description updated (diff)
Actions #2

Updated by Christoph Lehmann about 5 years ago

  • Description updated (diff)
Actions #3

Updated by Christoph Lehmann over 1 year ago

  • Related to Bug #72179: Changing sorting of IRRE elements does not trigger cache clear cmd added
Actions

Also available in: Atom PDF