eZ Platform Discussions

Upgrade from 5.4. Pb with content embed in rich text


#1

Hello friends developers.

I am doing a version upgrade from eZ Plublish 5.4 to ezplatform 1.13.

I have a problem with an object included in embed view in rich text.

An exception has been thrown during the rendering of a template ("").
500 Internal Server Error - Twig_Error_Runtime
1 linked Exception: ezpContentNotFoundException »

[2/2] Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("").
in vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Resources/views/FieldType/RichText/embed/content.html.twig at line 10

    {{
        render(
            controller(
                "ez_content:embedContent",
                {
                    "contentId": embedParams.id,
                    "viewType": embedParams.viewType,
                    "params": params,
                    "layout": false
                }
            )
        )
    }}

[1/2] ezpContentNotFoundException:
in ezpublish_legacy/lib/ezutils/classes/ezmodule.php at line 615

throw new ezpContentNotFoundException( "" );

It’s not very good for me. And I do not really know what to do.


#2

Of course, I have already executed the XML block conversion command in rich text.

php app/console ezxmltext:convert-to-richtext -v

https://doc.ezplatform.com/en/1.13/migrating/migrating_from_ez_publish_platform/