Sylius/tests
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
..
Api Filter out disabled products from get by code item endpoint (#19033) 2026-06-18 13:51:04 +02:00
Checker/Eligibility Fix assertion wrong eligible checker 2025-10-08 12:26:33 +02:00
Controller Apply ecs fixes 2025-10-17 16:10:30 +02:00
DataFixtures/ORM Move ShippingMethod test to the main tests directory 2025-11-28 15:22:54 +01:00
EventListener Import names 2025-04-22 14:59:34 +02:00
Fixture Import names 2025-04-22 14:59:34 +02:00
Functional Fix admin templates 2026-04-09 16:04:45 +02:00
Model Import names 2025-04-22 14:59:34 +02:00
Modifier Add PHPUnit test for DefaultAddressFormValuesModifier 2025-10-07 10:56:57 +02:00
Resources [Security] XSS - SVG file upload vulnerability fixed 2022-03-09 12:48:42 +01:00
Twig Import names 2025-04-22 14:59:34 +02:00