Details
-
Bug
-
Resolution: Fixed
-
None
-
High
-
TBX Import: The setting "Term term entries older than current import" did also delete the terms which are contained unchanged in the TBX.
-
Empty show more show less
Description
problem
The setting "Term term entries older than current import" does also delete the terms which are contained unchanged in the TBX.
This is solved!
What is still open is a test covering that. (Testdata locally available)
→ Test also with and without transacgrps
reason
The adding of the tbxUpdateAt / tbxCreatedAt fields in combination with the DB setting "NOT NULL DEFAULT 0000-00-00 00:00:00" was breaking the whole import stuff.
Term which are already in DB and coming in again with the TBX are now recognized as modified (since "0000-00-00 00:00:00" != null). Therefore a UPDATE was performed, modifying no data in DB (since for the DB null equalds "0000-00-00 00:00:00", therefore the updateAt timestamp was not updated.
The result is now, that all terms (expect the new ones) are deleted later on.