Skip to content

Unable to insert widget with text value which contains }} string #12087

Closed
@ghost

Description

Preconditions

  1. Magento 2.4-develop

Steps to reproduce

  1. Go to admin Content -> Pages
  2. Click Add New Page
  3. Set Page Title to Page Title
  4. Expand Content section
  5. In the content field, click Insert Widget button
  6. Choose any widget which has at least one text input, e.g. Catalog Products List
  7. Set widget title: Title}}
  8. Click Insert Widget
  9. Click Save Page
  10. Go in frontend to see the page: <base-url>/page-title

Expected result

  1. No errors

Actual result

  1. Widget content is incorrectly parsed
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: WidgetFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions