Project

General

Profile

Actions

Feature #17264

closed

Hook in TCEmain after all database operations needed

Added by Niels Pardon over 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-04-29
Due date:
% Done:

0%

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

Description

I'm a developer of the seminars extension and I plan to do the following. We got child-records called "timeslots" of the "seminar"-records which contain information that should be copied up to the parent record.

On TYPO3 4.0 I can use the processDatamap_afterDatabaseOperations() hook, because the "timeslot"-records are created before the "seminar"-record. So I can get the "timeslots" related to the "seminar"-record and copy the information to the "seminar"-record right after the "seminar"-record was saved.

In TYPO3 4.1 im using IRRE to manage those "timeslot"-records. With IRRE the saving order has changed. Now the "seminar"-record first gets saved and afterwards the "timeslot"-records are stored in the database.

The problem with this is, that when saving a "seminar" currently created "timeslots" are not present in the hook mentioned above and so I can't store the information of the "timeslots" in the "seminar"-record.

The solution should be a hook in TCEmain that takes place really after all database operations of all records created within this session.

(issue imported from #M5530)


Files

0005530_seminars.patch (5.27 KB) 0005530_seminars.patch Administrator Admin, 2007-11-23 21:46
0005530.patch (1.12 KB) 0005530.patch Administrator Admin, 2007-11-23 21:47
0005530_v2.patch (654 Bytes) 0005530_v2.patch Administrator Admin, 2007-11-24 15:08
T3X_seminars-0_5_99-z-200711241606.t3x (623 KB) T3X_seminars-0_5_99-z-200711241606.t3x Administrator Admin, 2007-11-24 16:09

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17043: Hook processDatamap_afterDatabaseOperations bug with inline relations?ClosedOliver Hader2007-02-26

Actions
Related to TYPO3 Core - Bug #17772: Hook processDatamap_afterDatabaseOperations bug with inline relationsClosedOliver Hader2007-11-10

Actions
Actions

Also available in: Atom PDF