Hi,

 

I try to migrate an old eZ Publish instance in 3.9.0 to 4.3.0. Everything 
seemed ok, but some content in eZ XML block aren't showing through 
attribute_view_gui.

To fix this, I must edit and republish this content. (the content is correctly 
shown in ezoe)

 

But it's a big site and, I can't do this manually.

I think that I have to execute all the migration script.

 

I searched in the database, and I found this : 

 

The difference between the two eZ XML data of the same content after republish

BEFORE republish :

<paragraph> 

<strong>Etablissement Public, OSEO exerce trois métiers : </strong>

 </paragraph>

 

AFTER republish:

<paragraph>&amp;nbsp;

         <strong>Etablissement Public, OSEO exerce trois métiers : </strong>

         &amp;nbsp;

</paragraph>

 

So, the only difference is the new &amp;nbsp; .

 

In the templates, I found this in the eZXMLBlock Attribute 
({$attribute.content|attribute('show',1)} : 

 

input object[eZSimplifiedXMLInput] Object

output object[eZXHTMLXMLOutput] Object

pdf_output object[eZPDFXMLOutput] Object

xml_data string

         ' <?xml version="1.0" encoding="utf-8"?>

<section xmlns:image="http://ez.no/namespaces/ezpublish3/image/";

         xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/";

         xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/";>

  <paragraph>Exporter, s&apos;implanter à l&apos;étranger, établir des 
coopérations technologiques en Europe ou avec d&apos;autres pays. Aides et 
financements, guide de l&apos;export, conseils..<link node_id="75">. consultez 
notre rubrique &quot;se développer à l&apos;international&quot;</link>

  </paragraph>

</section>'

is_empty Boolean false

 

 

But the {$attribute.content.output|attribute('show',1)} shows that  
.output_text is EMPTY.

Sometimes, only one paragraph is not shown among several paragraphs.

 

It sounds like a xml parsing problem.

 

Tomorrow I will try to add debug in the kernel...

 

Have someone an idea for me ?

 

Thanks you for your help.

 

--
Sébastien MOREL

 

-- 
Sdk-public mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/sdk-public

Reply via email to