Sylius/tests/Api
Kamil Grygierzec 9be988f3f1
Filter out disabled products from get by code item endpoint (#19033)
| Q               | A
|-----------------|-----
| Branch?         | 2.2
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Related tickets | fixes #18718
| License         | MIT

## Core feature

`ChannelAndLocaleBasedExtension` now implements
`QueryItemExtensionInterface` in addition to
`QueryCollectionExtensionInterface`. `GET /shop/products/{code}` now
returns 404 when the product is disabled or
not available in the current channel/locale. Both collection and item
queries share a private apply() method. Assert on context keys replaced
with graceful early returns.
2026-06-18 13:51:04 +02:00
..
Admin TASK: Add separate tests for setting / updating delivery times 2026-05-10 22:13:50 +02:00
DataFixtures/ORM Filter out disabled products from get by code item endpoint (#19033) 2026-06-18 13:51:04 +02:00
Responses TASK: Add separate tests for setting / updating delivery times 2026-05-10 22:13:50 +02:00
Shop Filter out disabled products from get by code item endpoint (#19033) 2026-06-18 13:51:04 +02:00
Utils Stan and overall build fixes 2026-03-09 13:25:10 +01:00
JsonApiGenericRequestValidationTestCase.php Import names 2025-04-22 14:59:34 +02:00
JsonApiTestCase.php [UPMERGE] 2.1 -> 2.2 (#18615) 2025-12-02 22:32:35 +01:00