Review 11.5 Merged

73550[BUGFIX] Ignore empty values for table and uid in FilesContentObject

Oli Bartsch CR +2 V +2 Normal +154 −7 updated 02/21/22, 23:27

Commit message

When using the option "references" as an array, it
is possible to provide table and uid with stdWrap
functionality. The return type can be mixed so
proper casting is necessary.

Also, empty values like an empty string for table or
"0" for uid should not trigger
$pageRepository->getRawRecord and the fallback
values should be used instead.

Another potential bug was found while adding test
cases, where an empty table would result in nothing.
In such a case, the current table should be used for
relation fetching.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 3