Closed
Description
Preconditions
- There could be more then one CMS block/page with the same identity (for each store view).
Expected result
- 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)
- Both methods return the first found item in DB with passed identity.