Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.36, 4.5.4
-
None
-
None
-
Yes
Description
Steps to reproduce
- Install Ibexa DXP v3.3 or v4.5
- login as admin in front
- Add a new code block to the landing page and put the below code:
<a href="{{ path('ezplatform.content.draft.create', { 'contentId': 52, 'fromVersionNo': 2, 'fromLanguage': 'eng-GB', 'toLanguage': 'eng-GB' }) }}" class="btn btn-icon mx-2" title="{{ 'dashboard.table.draft.edit'|trans|desc('Edit draft') }}" > Create a content by Ibexa Draft</a>
or use this URL: "/content/create/draft/52/2/eng-GB?toLanguage=eng-GB"
- Fill out the form and send it
Result
we got error
Ibexa\Core\Repository\SiteAccessAware\ContentService::loadContentInfo(): Argument #1 ($contentId) must be of type int, string given, called in /var/www/html/vendor/ibexa/content-forms/src/lib/Form/Processor/ContentFormProcessor.php on line 210
Expected result
ability to edit the landing page correctly