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

File-system tbx import error on term-collection create

    XMLWordPrintable

Details

    • Critical
    • -

    Description

      Problem

      The termcollection create method return type is changed and there are one missing reference which uses the old return type.

      The reference can be found in:

      editor_Plugins_TermImport_Services_Import::handleCollectionForFile

      Change theĀ 

      //create new term collection/language resource
      $collectionId=$model->create($collectionName, [$customerId]);

      to

      //create new term collection/language resource
      $collectionId=$model->create($collectionName, [$customerId])->getId();

      Additional:

      Double check if there are other references to this function!

      Attachments

        Activity

          People

            aleksandar Aleksandar Mitrev
            aleksandar Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: