Closed
Description
Description
The implementation of $storeId
support was never finished.
Preconditions (*)
- Magento
2.4-develop
Steps to reproduce (*)
- Create 2 stores
default
with ID1
extra
with ID2
- Create Category with
url_key
value:category-1
(let's assume it's ID is333
) - Open Category edit and change scope to
extra
store - Change
url_key
to valuesome-magic-key
- Create class that use
CategoryRepositoryInterface
- Execute
$categoryRepository->get(333, 2)
Data is properly saved in the MySQL table:
Expected result (*)
- Category data with
url_key
=some-magic-key
is returned
Actual result (*)
- Category data with
url_key
=category-1
is returned
Related issues
Not related issues
- Please not treat it as related to Saving product with non-default store scope causes untouched attributes to become store scoped if loaded using ProductRepository #8897: That one is related with EAV error on saving attributes when saved with API.