magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.58k stars 9.32k forks source link

Pagebuilder doesn't load content when using invalid variable path #39049

Open Detzler opened 3 months ago

Detzler commented 3 months ago

Preconditions and environment

Steps to reproduce

Expected result

Pagebuilder loads correctly

Actual result

Pagebuilder doesn't render the content properly in the backend

Error in browser console: Cannot read properties of undefined (reading 'variable_type')

Screenshot 2024-08-15 145109

Screenshot 2024-08-15 145101

Additional information

No response

Release note

No response

Triage and priority

m2-assistant[bot] commented 3 months ago

Hi @Detzler. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

Detzler commented 3 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 3 months ago

Hi @Detzler. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 3 months ago

Hi @Detzler, here is your Magento Instance: https://21bdd705dd314dff0d7e98d9c7b4f3e2.instances-prod.magento-community.engineering Admin access: https://21bdd705dd314dff0d7e98d9c7b4f3e2.instances-prod.magento-community.engineering/admin_38aa Login: c91f7eaf Password: 65805301edc8

Detzler commented 3 months ago

I've reproduced the issue at the magento instance, see cms page:

https://21bdd705dd314dff0d7e98d9c7b4f3e2.instances-prod.magento-community.engineering/admin_38aa/cms/page/edit/page_id/7/back/edit/

The content contains a Row Block and a Text Element. But when loading the edit form the content is rendered as custom html. The errors breaks the pagebuilder, see browser console.

m2-assistant[bot] commented 3 months ago

Hi @engcom-Bravo. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Bravo commented 3 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 3 months ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 3 months ago

Hi @engcom-Bravo, here is your Magento Instance: https://21bdd705dd314dff0d7e98d9c7b4f3e2.instances-prod.magento-community.engineering Admin access: https://21bdd705dd314dff0d7e98d9c7b4f3e2.instances-prod.magento-community.engineering/admin_361d Login: 7d9139d6 Password: 1a2d646e56f9

engcom-Bravo commented 3 months ago

Hi @Detzler,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

Steps to reproduce

Screenshot 2024-08-16 at 11 22 42

Pagebuilder doesn't render the content properly in the backend

Hence Confirming the issue.

Thanks.

github-jira-sync-bot commented 3 months ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-12769 is successfully created for this GitHub issue.

m2-assistant[bot] commented 3 months ago

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.