Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-3986

Unable to create catalog via PAPI/REST without specifying description

    XMLWordPrintable

Details

    • [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

       

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              adam.wojs@ibexa.co Adam Wójs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: