Review 10.4 Merged

70253[BUGFIX] Add necessary type property to reduced data structure

Oli Bartsch CR +2 V +2 Hard +256 −37 updated 08/06/21, 14:00

Commit message

When using a SelectTree in flexform, the FormSelectTreeAjaxController
reduces the data structure array, passed to the tcaSelectTreeAjaxFieldData
FormDataGroup, down to the relevant element only.

This previously lead to deprecation messages as one of the
DataProviders, FlexPrepare, calls the TcaMigration for the
passed data structure array. This then failed for the container,
since it was falsely treated as an invalid TCA column, due to the
missing type property.

This is now fixed by adding the missing "type=array" property
to the reduced data structure.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 1

Files 2

Review log 34

  1. Oli Bartsch commented on patch set 1 08/06/21, 13:36

    Cherry Picked from branch master.
  2. core-ci voted on patch set 1 V +1 08/06/21, 13:47 Core CI is happy: https://gitlab.typo3.org/typo3/CI/cms/-/pipelines/14206

  3. Oli Bartsch voted on patch set 1 V +2 CR +2 08/06/21, 14:00

  4. Oli Bartsch merged patch set 2 08/06/21, 14:00