Review main Merged

82446[BUGFIX] Do not create integer field for TCA selectSingle with no items

Nikita Hovratov CR +2 V +2 Easy +28 −1 updated 01/14/24, 09:07

Commit message

In case of a type `select` and renderType `selectSingle` TCA field,
which doesn't define `items` nor `itemsProcFunc`, TcaSchema would always
generate a type integer db field. This should rather fall back to
varchar as the type can not be assumed properly. Exception: If
foreign_table is defined then we know the values are uids.

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 2

Files 2