Skip to content
Snippets Groups Projects
Commit 62e96c81 authored by Christian Kuhn's avatar Christian Kuhn Committed by Morton Jonuschat
Browse files

[BUGFIX] Restrict parent calculation for inline ajax

If a child is expanded, added or synchronized in inline ajax call,
mostly only the inline tca configuration of the parent record is
needed, but not the whole thing.

The patch adds a dedicated InlineParentRecord data group that only
calls needed data providers to achieve this. This has the huge benefit
that the record is no longer fetched from db and only one single
field is prepared. This improves performance of these ajax calls.

Additionally, the patch solves an exception adding new image records
to a new tt_content record without persisting the tt_content record
before.

Resolves: #70549
Releases: master
Change-Id: I1312d00b77446eb89f5da3b898cdff975f057eae
Reviewed-on: http://review.typo3.org/43941


Reviewed-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Tested-by: default avatarMorton Jonuschat <m.jonuschat@mojocode.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 0410873e
Branches
Tags
No related merge requests found
Showing
with 244 additions and 48 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment