Issue Feature Closed

#99346Add Site to itemsProcFunc of AbstractItemProvider

Stefan Froemken 12/12/22, 10:51 updated 01/30/24, 08:27

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

Reviews 2