Bug #23560

Put versioning code from TCEmain in version extension - part #1

Added by Benjamin Mack almost 3 years ago. Updated over 2 years ago.

Status:Resolved Start date:2010-09-18
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

0%

Category:-
Target version:-
TYPO3 Version: Complexity:
PHP Version:
Votes: 0

Description

This patch is the first version to put a lot of the workspace code out of tcemain so it is only used when the versioning extension is installed. It moves the following "features" in cmdmap hooks:
- processing cmd "version"
- swapping versions
- everything about stage changes
- everything about notifications
- page / branch versioning

Additionally, it adds new hooks in the cmdmap method so you can now define your own commands (maybe helpful for DAM as well?), and hook in before and after anything in the cmdmap.

This removes around 1000 lines of code from TCEmain.
(issue imported from #M15740)

extract_tcemain.patch (90.1 kB) Administrator Admin, 2010-09-18 11:50

15740_extract_tcemain_v2.patch (90.9 kB) Administrator Admin, 2010-09-18 12:10


Related issues

related to Core - Bug #23719: Reference to global array $TCA without fetching from glob... Closed 2010-10-13
related to Core - Bug #23720: Record deletion emitts error message Resolved 2010-10-13

History

Updated by Benjamin Mack over 2 years ago

committed to trunk (rev 8841).

Also available in: Atom PDF