Updated: Comment #32
The support for foreign keys in the field schema is nearly completely broken, and only works by chance:
- The processing done in
_field_sql_storage_schema()uses an undefined variable name
- The foreign keys are not updated when the field is updated by
We have some tests, but they pass by chance.
- Fix the brokenness
- Extend the tests
A patch has been created and applied to 8.x, and a patch exists and is RTBC for 7.x. Last remaining item is to commit to 7.x.
User interface changes
PASSED: [[SimpleTest]]: [MySQL] 40,324 pass(es). View
FAILED: [[SimpleTest]]: [MySQL] 40,337 pass(es), 4 fail(s), and 3 exception(s). View
FAILED: [[SimpleTest]]: [MySQL] 40,331 pass(es), 4 fail(s), and 3 exception(s). View