-
Type:
Bug
-
Resolution: Unresolved
-
None
-
Affects Version/s: None
-
Component/s: Import/Export
-
Emptyshow more show less
Importing the example import package leads to this error:
| Exception: | editor_Models_Import_FileParser_Xlf_Exception |
| Level: | ERROR |
| Errorcode: | E1069 |
| Message: | There is other content as whitespace outside of the mrk tags. Found content: Array ( [0] => [1] => [2] => ) In trans-unit Array ( [id] => tu1639 [resname] => text [xml:space] => preserve [0] => Array ( ) [1] => Array ( ) [2] => Array ( ) ) |
| Domain: | editor.import.fileparser.xlf |
| File (Line): | /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/Xlf.php (543) |
| Request: | PUT /editor/worker/564?cleanupSessionAfterRun=1 |
| Extra: | Array ( [content] => Array ( [0] => [1] => [2] => ) [transUnitId] => tu1639 [task] => stdClass Object ( [id] => 167 [entityVersion] => 6 [modified] => 2019-06-05 13:30:52 [taskGuid] => {8baeb79d-c824-406a-8399-17af3d2cb39e} [taskNr] => [foreignId] => [taskName] => Translate5_Recursive_JSON_Import [foreignName] => [sourceLang] => 4 [targetLang] => 5 [relaisLang] => 0 [lockedInternalSessionUniqId] => translate5InternalLock [locked] => 2019-06-05 13:27:14 [lockingUser] => {00000000-0000-0000-0000-000000000000} [state] => import [workflow] => default [workflowStep] => 1 [workflowStepName] => [pmGuid] => {e6828cdf-2ee0-4a25-af0a-92e6f060e9eb} [pmName] => Manager, Project (manager) [wordCount] => 0 [userCount] => 0 [targetDeliveryDate] => 2019-06-05 00:00:00 [realDeliveryDate] => [referenceFiles] => 0 [terminologie] => 0 [orderdate] => 2019-06-05 00:00:00 [enableSourceEditing] => 0 [edit100PercentMatch] => 1 [lockLocked] => 1 [qmSubsegmentFlags] => {"qmSubsegmentFlags":[
Unknown macro: {"text"}
,{"text":"Fluency","id":7,"children":[{"text":"Register","id":8},\{"text":"Style","id":9},\{"text":"Inconsistency","id":10},\{"text":"Spelling","id":11},\{"text":"Typography","id":12},\{"text":"Grammar","id":13},\{"text":"Locale violation","id":14},\{"text":"Unintelligible","id":15}]},{"text":"Verity","id":16,"children":[{"text":"Completeness","id":17},\{"text":"Legal requirements","id":18},\{"text":"Locale applicability","id":19}]}],"severities":{"critical":"Critical","major":"Major","minor":"Minor"}} [emptyTargets] => 0 [importAppVersion] => development [customerId] => 3 ) ) |
| Trace: | |
| #0 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/Xlf.php(1036): editor_Models_Import_FileParser_Xlf->throwSegmentationException('E1069', Array) #1 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/Xlf.php(978): editor_Models_Import_FileParser_Xlf->checkAndPrepareOtherContent(true, true) #2 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/Xlf.php(613): editor_Models_Import_FileParser_Xlf->extractSegment(Array) #3 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/XmlParser.php(576): editor_Models_Import_FileParser_Xlf->{closure}('trans-unit', 28667, Array) #4 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/XmlParser.php(126): editor_Models_Import_FileParser_XmlParser->handleElementEnd(28667, 'trans-unit') #5 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/XmlParser.php(106): editor_Models_Import_FileParser_XmlParser->parseList(Array, true) #6 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/FileParser/Xlf.php(239): editor_Models_Import_FileParser_XmlParser->parse('parse() #8 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/Worker/Import.php(173): editor_Models_Import_FileParser->parseFile() #9 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/Worker/Import.php(128): editor_Models_Import_Worker_Import->importFiles() #10 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/Worker/Import.php(106): editor_Models_Import_Worker_Import->importWithCollectableErrors() #11 /webs/dev/marc.translate5.net/application/modules/editor/Models/Import/Worker.php(71): editor_Models_Import_Worker_Import->import(Object(editor_Models_Task), Object(editor_Models_Import_Configuration)) #12 /webs/dev/marc.translate5.net/library/ZfExtended/Worker/Abstract.php(516): editor_Models_Import_Worker->work() #13 /webs/dev/marc.translate5.net/library/ZfExtended/Worker/Abstract.php(465): ZfExtended_Worker_Abstract->_run() #14 /webs/dev/marc.translate5.net/library/ZfExtended/Controllers/WorkerController.php(119): ZfExtended_Worker_Abstract->runQueued() #15 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Action.php(516): ZfExtended_WorkerController->putAction() #16 /webs/dev/marc.translate5.net/library/ZfExtended/Controllers/AAARestController.php(287): Zend_Controller_Action->dispatch('putAction') #17 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Dispatcher/Standard.php(308): ZfExtended_RestController->dispatch('putAction') #18 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(REST_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #19 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #20 /webs/mittagqi_meta/other/zend/Zend-z1-php7.3-1.13.2-p1/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #21 /webs/dev/marc.translate5.net/library/ZfExtended/Application.php(47): Zend_Application->run() #22 /webs/dev/marc.translate5.net/library/ZfExtended/BaseIndex.php(153): ZfExtended_Application->run() #23 /webs/dev/marc.translate5.net/public/index.php(35): ZfExtended_BaseIndex->startApplication() #24 {main} | |
| Request: | |
| Array ( [cleanupSessionAfterRun] => 1 ) |