Skip to content

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

Open
@Detzler

Description

@Detzler

Preconditions and environment

  • Magento 2.4.7-2

Steps to reproduce

  • Enable Pagebuilder
  • Add CMS Page with following content
  • Text content should be {{config path="path/which/doesnt/exist"}}
  • Save page
  • Reload page edit form

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

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: ContentComponent: CmsIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: ready for devReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions