File-system tbx import error on term-collection create

XMLWordPrintable

    • Critical
    • None
    • None

      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!

            Assignee:
            Aleksandar Mitrev
            Reporter:
            Aleksandar Mitrev
            None
            None
            None
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None