tx_cal_category still used in table be_groups but has no TCA, throws exception when editing BE group

versions

  • TYPO3 9.5.9 (with official Introduction package)
  • cal version 2.0.1 (clone from gitlab)

Reproduce

  1. Install cal
  2. Try to edit a BE user group

This throws an exception:

(1/1) #1439569743 UnexpectedValueException
Field tx_cal_category of table be_groups reference to foreign table tx_cal_category, but this table is not defined in TCA

Cause of error

Categories have been converted to use sys_category.

The TCA for tx_cal_category has been removed but this table is still being referenced:

  • be_users
  • be_groups