Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.3.0-rc1, 4.2.2
-
[4.3] - Sprint 5
Description
It's not possible to create catalog via PAPI/REST without specifying description
Steps to reproduce
Create catalog via REST API (4.3) or PAPI e.g.
POST http://localhost:8000/api/ibexa/v2/product/catalog/catalogs Content-Type: application/vnd.ibexa.api.CatalogCreate+json Accept: application/json X-CSRF-Token: {{CSRF_TOKEN}} { "CatalogCreate": { "names": { "eng-GB": "Hello" }, "descriptions": null, "criteria": [], "identifier": "hello4", "status": "draft" } }
Actual result
Warning with the "Undefined array key "eng-US"" message is shown
Expected result
Catalog created successfully