EasyCorp / EasyAdminBundle

EasyAdmin is a fast, beautiful and modern admin generator for Symfony applications.
MIT License
4.08k stars 1.02k forks source link

Translation error, Symfony 5.1 #3237

Closed tacman closed 4 years ago

tacman commented 4 years ago

I've been using Symfony 5.1 (now at RC-1) and got this error today:

In XliffFileLoader.php line 61:
remote:        !!                                                                                 
remote:        !!    Unable to load "/tmp/build_ddbc0f2fc2edbb0c184b54d9dcea0f56/vendor/easycorp  
remote:        !!    /easyadmin-bundle/src/Resources/translations/EasyAdminBundle.ar.xlf": [ERRO  
remote:        !!    R 522] Validation failed: no DTD found ! (in n/a - line 2, column 67)        
remote:        !!    [ERROR 76] Opening and ending tag mismatch: body line 4 and trans-unit (in   
remote:        !!    n/a - line 60, column 26)                                                    
remote:        !!    [ERROR 76] Opening and ending tag mismatch: file line 3 and trans-unit (in   
remote:        !!    n/a - line 117, column 29)                                                   
remote:        !!    [ERROR 76] Opening and ending tag mismatch: xliff line 2 and body (in n/a -  
remote:        !!     line 180, column 16)                                                        
remote:        !!    [ERROR 5] Extra content at the end of the document (in n/a - line 181, colu  
remote:        !!    mn 5)                                                                        
remote:        !!                                                                                 
remote:        !!  

And indeed, around line 60, I see a validation error. Is this file generated from somewhere? There is a repeated closing tag

image

xabbuh commented 4 years ago

should be fixed by #3238