Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2770

Creating terms in TermPortal are creating null definitions instead empty strings

    XMLWordPrintable

Details

    • Critical
    • Fixed a bug on importing TBX files with empty definitions.

    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.

      Attachments

        Activity

          People

            pavelperminov Pavel Perminov
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: