Skip to content

There is no ability to pass store ID during getting CMS page/block by identity. #6570

Closed
@ytorbyk

Description

@ytorbyk

Preconditions

  1. There could be more then one CMS block/page with the same identity (for each store view).

Expected result

  1. There must be ability to get CMS block/page by identity for specific store view.

Actual result

\Magento\Cms\Api\PageRepositoryInterface::getById($pageId)
\Magento\Cms\Api\BlockRepositoryInterface::getById($blockId)

  1. Both methods return the first found item in DB with passed identity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions