Skip to content

Review/Block/Product/View _toHtml() changes product state #40168

@antonkyzin

Description

@antonkyzin

What is a reason to set 'short_description' on the block toHtml?
So after this action \Magento\Framework\Registry returns a product with empty attribute 'short_description'.
https://github.com/magento/magento2/blame/36d4d6fb4088f92810166b26aa2e065a817c068a/app/code/Magento/Review/Block/Product/View.php#L90

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: CatalogComponent: ReviewIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchTriage: Dev.ExperienceIssue related to Developer Experience and needs help with Triage to Confirm or Reject it

    Type

    No type

    Projects

    Status

    Ready for Development

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions