Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.2
-
None
Description
While fetching a specific region, the user is presented with the following error:
Could not resolve argument $identifier of \"Ibexa\\Bundle\\ProductCatalog\\Controller\\REST\\RegionController::getregionaction()\", maybe you forgot to register the controller as a service or missed tagging it with the \"controller.service_arguments\"?
Steps to reproduce:
1. Configure some regions for Product Catalog, e.g.:
repositories: default: product_catalog: engine: default regions: france: vat_categories: fii: 12 foo: 0 bar: ~ foo: vat_categories: fii: 24 foo: 0 bar: ~ bar: vat_categories: fii: 24 foo: 0 bar: ~
2. Perform a REST API request e.g. via Postman targetting the following endpoint:
GET localhost:8007/api/ibexa/v2/product/catalog/regions/france
Result:
The mentioned error surfaces.
Expected result:
A proper response containing "france" region details.