Skip to content

Export/Import xliff trouble #3301

@spras

Description

@spras
Q A
Bug? yes
New Feature? no
Sulu Version 1.5.2
Browser Version no

Actual Behavior

Trying to export and import in an other instance of sulu :

bin/adminconsole --env=prod sulu:webspaces:export hmdiffusion.xml hmdiffusion fr
Language Export
===============

Options
Webspace: hmdiffusion
Target: hmdiffusion.xml
Locale: fr
Format: 1.2.xliff
UUID:
---------------

Continue with this options?(y/n) y
Continue!
Loading Data…
 730/730 [============================] 100%
Render Xliff…

Export seems OK

www-data@0747db6bb17c:/var/www/html$ bin/adminconsole --env=prod  sulu:webspaces:import web/cms-hmdiffusion.xml hmdiffusion fr
Language Import
===============

Options
Webspace: hmdiffusion
Locale: fr
Format: 1.2.xliff
UUID: 
Override Setting: false
Sulu Version by export: 1.3.x
---------------

Continue with this options? Be careful! (y/n) y
Continue!
 730/730 [============================] 100% 3 secs/3 secs 51.0 MiB

Import Result
===============
0 Documents imported.
730 Documents ignored.

But 0 document imported ...

Expected Behavior

Every document should be imported.

Possible Solutions

I have also notice something in my export file, which is perhaps related. I have this error message on the block fields (http://docs.sulu.io/en/latest/reference/content-types/block.html) :

<trans-unit id="2" resname="blocs" translate="no">
                <source>ERROR: wrong data</source>
                <target>ERROR: wrong data</target>
            </trans-unit> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugError or unexpected behavior of already existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions