Ibexa DXP Discussions

Community discussion forum for developers working with Ibexa DXP

V3.0.0: Embedding file in ezrichtext raises TypeError Exception in backend and frontend

Fresh eZ 3 install, updated DB from working eZ 3 beta4.

Embedding a

<ezembedinline xlink:href="ezcontent://2926" view="embed-inline"/>

in a richtext field yields

Argument 1 passed to Symfony\Bridge\Twig\Extension\RoutingExtension::getPath() must be of the type string, object given

in both backend and frontend. Does anybody has a clue?

Hi @Nielo!

Could you please share a full stack trace?

In Symfony 5 is not longer possible to pass object as path/url Twig function argument. The replacment is https://github.com/ezsystems/ezpublish-kernel/pull/3000

You hit the point. Thx. a load!

1 Like