Project

General

Profile

Actions

Feature #99346

closed

Add Site to itemsProcFunc of AbstractItemProvider

Added by Stefan Froemken almost 2 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2022-12-12
Due date:
% Done:

100%

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

Description

Hello,

I add organizer records to my event record with help of itemsProcFunc.
If I just create a new event I can also see and choose from one of the organizers.
But, when I click on "new" button just after storing my record, the organizer selector is empty.

I use $parameters['row']['pid'] to select organizer records. If my editors click "new" button after storing an event record the pid value contains the negative value of the previously stored event record. TYPO3 Core catches that as NeighborRow in DatabaseParentPageRow and extracts the real page UID from that record.

Currently I have copy&pasted that snippet from Core into my itemsProcFunc, but it would be much easier, if TYPO3 would transfer the Site object to itemsProcFunc, too.

Stefan

Actions

Also available in: Atom PDF