Details
-
Type: Bug
-
Status: Open
-
Priority: Trivial
-
Resolution: Unresolved
-
Affects Version/s: 4.6
-
Fix Version/s: Unscheduled
-
Component/s: CiviCase
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Case type ID should be required in schema (this will also allow some tests to be enabled)
The fix should also define the upgrade logic for existing DBs.
AFAIK, there's no legit use-case for a null case_type_id. We could think a bit about what happens when a case-type is deleted, but frankly... no behavior (nulling or deleting) seems good. The right thing should be preventing deletion of case-types that are in-use.