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

Field definitions added to product create struct are ignored

    XMLWordPrintable

Details

    Description

      Field definitions added to \Ibexa\Contracts\ProductCatalog\Local\Values\ProductType\ProductTypeCreateStruct via

      $extraFieldCreateStruct = $this->repository->getContentTypeService()->newFieldDefinitionCreateStruct('extra', 'ezstring');
      // ....
      
      $productCreateStruct = $this->productTypeService->newProductTypeCreateStruct('product_type_with_extra_field', 'eng-GB');
      $productCreateStruct->getContentTypeCreateStruct()->addFieldDefinition($extraFieldCreateStruct); 

      are ignored by \Ibexa\Contracts\ProductCatalog\Local\LocalProductTypeServiceInterface::createProductType.

       

       

       

      Designs

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: