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

No error handling if tasks languages are not present in TBX

    XMLWordPrintable

Details

    Description

      problem

      Import a task with languages not present in the TBX.

      The import crashes with the attached trace.

      Before refactoring the TermImport the import succeeded with disabled termtagging and a log entry.

      Please restore that.

      trace

      [19-Jun-2018 21:52:10 Europe/Vienna] ZfExtended_Log on test.translate5.net:^M Exception: exception 'Zend_Exception' with message 'Argument 3 passed to editor_Plugins_TermTagger_Service::open() must be an instance of strin Stack trace: #0 /webs/test.translate5.net/application/modules/editor/Plugins/TermTagger/Service.php(165): ZfExtended_Resource_ErrorHandler::errorHandler(409 #1 /webs/test.translate5.net/application/modules/editor/Plugins/TermTagger/Worker/Abstract.php(294): editor_Plugins_TermTagger_Service->open('h #2 /webs/test.translate5.net/application/modules/editor/Plugins/TermTagger/Worker/TermTaggerImport.php(137): editor_Plugins_TermTagger_Worker_A #3 /webs/test.translate5.net/library/ZfExtended/Worker/Abstract.php(509): editor_Plugins_TermTagger_Worker_TermTaggerImport->work() #4 /webs/test.translate5.net/library/ZfExtended/Worker/Abstract.php(458): ZfExtended_Worker_Abstract->_run() #5 /webs/test.translate5.net/library/ZfExtended/Controllers/WorkerController.php(111): ZfExtended_Worker_Abstract->runQueued() #6 /webs/mittagqi_meta/other/zend/ZendFramework-1.12.20-minimal/library/Zend/Controller/Action.php(516): ZfExtended_WorkerController->putAction #7 /webs/test.translate5.net/library/ZfExtended/Controllers/AAARestController.php(275): Zend_Controller_Action->dispatch('putAction') #8 /webs/mittagqi_meta/other/zend/ZendFramework-1.12.20-minimal/library/Zend/Controller/Dispatcher/Standard.php(308): ZfExtended_RestController #9 /webs/mittagqi_meta/other/zend/ZendFramework-1.12.20-minimal/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->di #10 /webs/mittagqi_meta/other/zend/ZendFramework-1.12.20-minimal/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: