Project

General

Profile

Actions

Feature #102184

closed

Add PSR-14 event to adjust cleanup:flexforms

Added by Garvin Hicking about 1 year ago. Updated 3 months ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
Start date:
2023-10-17
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
flexform flexforms cleanup event
Complexity:
Sprint Focus:

Description

Before #102181 the cleanup:flexforms CLI task had the ability to specify depth and a pid to restrict operations to a specific range of the pagetree.

Due to conceptional changes and optimizations, this has been dropped.

To allow integrators/developers the ability to prevent updates on specific flexform contents, a PSR-14 event should be introduced. That event should contain the cleaned-up XML, the record array, and a boolean flag that can be set to "false" so that the update action can be prevented.

Alternatively, the event could also adjust the cleaned XML. The old XML can be accessed through the ->getRecord()[$fieldName] method to perform comparisons. Also ->getRecord() can be checked to see if specific PID/CType or other conditions are met.

Preventing updates could be required by integrators/developers, because parts of the page tree might be allowed to contain outdate FlexForm values (i.e. due to CTypes getting switched around, or external updates).


Related issues 1 (0 open1 closed)

Follows TYPO3 Core - Task #102181: Drastically speed up `bin/typo3 cleanup:flexforms`Closed2023-10-16

Actions
Actions #1

Updated by Garvin Hicking about 1 year ago

  • Follows Task #102181: Drastically speed up `bin/typo3 cleanup:flexforms` added
Actions #2

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #3

Updated by Gerrit Code Review about 1 year ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #4

Updated by Gerrit Code Review about 1 year ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #5

Updated by Gerrit Code Review about 1 year ago

Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #6

Updated by Gerrit Code Review about 1 year ago

Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #7

Updated by Gerrit Code Review about 1 year ago

Patch set 6 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #8

Updated by Benni Mack 10 months ago

  • Target version changed from 13.0 to 13.1
Actions #9

Updated by Benni Mack 7 months ago

  • Target version changed from 13.1 to 13.2
Actions #10

Updated by Benni Mack 5 months ago

  • Target version changed from 13.2 to 13.3
Actions #11

Updated by Gerrit Code Review 4 months ago

Patch set 7 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #12

Updated by Gerrit Code Review 4 months ago

Patch set 8 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #13

Updated by Gerrit Code Review 4 months ago

Patch set 9 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/81441

Actions #14

Updated by Christian Kuhn 3 months ago

  • Status changed from Under Review to Rejected

patch abandoned in this state.

Actions

Also available in: Atom PDF