Instant translate search content with tags

XMLWordPrintable

    • High
    • FIXED Bug in Instanttranslate when segmented results are processed due to a missing API

      Problem

      When searching in instant translate with content containing tags an error is thrown.
      It seams like, there are some undefined functions regarding to the markup.

      Stack trace

      ERROR Error: E9999 - Call to undefined method MittagQI\Translate5\Tools\Markup::protect()
        in core in file:///var/www/translate5/application/modules/editor/PrivatePlugins/InstantTranslate/Controllers/InstanttranslateapiController.php:245  
        User: translator1 (Trans Lator One) ({c99ae747-0afb-446a-827a-6b3b32cfb819}) 
        Request: POST /editor/instanttranslateapi/translate
        Trace: 
          #0 in file:///var/www/translate5/vendor/shardj/zf1-future/library/Zend/Controller/Action.php:516  Editor_InstanttranslateapiController->translateAction()
          #1 in file:///var/www/translate5/library/ZfExtended/Controllers/AAARestController.php:315  Zend_Controller_Action->dispatch()
          #2 in file:///var/www/translate5/vendor/shardj/zf1-future/library/Zend/Controller/Dispatcher/Standard.php:308  ZfExtended_RestController->dispatch()
          #3 in file:///var/www/translate5/vendor/shardj/zf1-future/library/Zend/Controller/Front.php:954  Zend_Controller_Dispatcher_Standard->dispatch()
          #4 in file:///var/www/translate5/vendor/shardj/zf1-future/library/Zend/Application/Bootstrap/Bootstrap.php:105  Zend_Controller_Front->dispatch()
          #5 in file:///var/www/translate5/vendor/shardj/zf1-future/library/Zend/Application.php:399  Zend_Application_Bootstrap_Bootstrap->run()
          #6 in file:///var/www/translate5/library/ZfExtended/Application.php:47  Zend_Application->run()
          #7 in file:///var/www/translate5/library/ZfExtended/BaseIndex.php:151  ZfExtended_Application->run()
          #8 in file:///var/www/translate5/public/index.php:35  ZfExtended_BaseIndex->startApplication()
          #9 {main}
      

            Assignee:
            Axel Becher
            Reporter:
            Aleksandar Mitrev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: