Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
Fixed a bug on importing TBX files with empty definitions.
-
Empty show more show less
Description
problem
A customer tried to re-import and merge an updated TBX file.
This was failing with the following error:
level: ERROR created: 2022-01-03 13:03:58 ecode: E9999 domain: editor.terminology.import message: TypeError: Cannot assign null to property editor_Models_Terminology_TbxObjects_Term::$definition of type string
The reason was a term which was created in the TermPortal between the two imports of the TBX. The manually created term had a definition with a null value (all other terms with empty definitions had an empty string instead).
solution
So ensuring that term definition may not be null but only a string in the DB should fix the problem.