Skip to content

Method \Magento\Cms\Controller\Adminhtml\Page\Save::executeInternal() ignores the result of the «cms_page_prepare_save» event while validation #2240

@dmitrii-fediuk

Description

@dmitrii-fediuk

The problem line is

if (!$this->dataProcessor->validate($data)) {

I propose to change it to

if (!$this->dataProcessor->validate($model->getData())) {

My detailed explanation: https://mage2.pro/t/159

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions