Story #69617: FormEngine bugs
FormEngine doesn't resolve inline records from flexforms correctly
Since [!!!][TASK] The FormEngine is dead, long live the FormEngine! I get the following Exception when I try to open a content element in the Backend which has inline FAL images in a flexform field:
The problem could also be related to FluidTYPO3 extensions that are installed on my system, but from digging around in the code the problem seems to occur somewhere in InlineRelatedRecordResolver->getRelatedRecords().
[BUGFIX] Inline in flex
Inline elements within flex forms do not differ from "normal" inline
relations on DB side. For inline relation handling it looks like a
direct table to table connection, even if the connect data is
stored within xml.
The resolve logic triggered by the inline process data provider
thus needs table name and uid of the "parent" record to resolve
inline elements correctly.
Reviewed-by: Daniel Goerz <email@example.com>
Tested-by: Sebastian Michaelsen <firstname.lastname@example.org>
Reviewed-by: Morton Jonuschat <email@example.com>
Tested-by: Morton Jonuschat <firstname.lastname@example.org>
Reviewed-by: Christian Kuhn <email@example.com>
Tested-by: Christian Kuhn <firstname.lastname@example.org>
#2 Updated by Sebastian Michaelsen about 4 years ago
The above screenshot shows an error loading the sys_file_reference with uid 1. But that is not the correct uid but comes from the fact that there is one image referenced from the flexform field. sys_file_reference:1 is deleted in my system which ultimately results in the above exception.