Description
Summary
It has to be solved that deprecated TV types are not selectable anymore and not existing old TV types (i.e. removed custom TV types) could create a fatal error. Some fallback to a default TV type should be implemented.
Step to reproduce
At the moment the Textarea (mini) TV type is still visible in newer MODX installations, if it is assigned to a TV. Also custom TV types assigned to a TV are still using that TV custom type when the custom TV type extra is uninstalled. That causes a fatal error in the backend during editing a resource with that TV assigned (for deprecated TV types since MODX 2.5.0).
Observed behavior
Fatal error during editing a resource using that TV.
Expected behavior
No fatal error and a fallback to i.e. textarea TV. I would prefer a textarea TV, since a custom TV value could contain multiple lines, quotes etc.
Environment
All MODX versions, see #13066