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

[Corporate Account PHP API] CompanyService::newCompanyCreateStruct uses hard-coded Content Type identifier

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Create custom Content Type for Company with identifier e.g.: my_custom_company_type
      2. Configure it as Corporate Account Company Content type:
        ibexa_corporate_account:
            content_type_mappings:
                company: my_custom_company_type
      1. Try creating new CompanyCreateStruct via ContentService::newCompanyCreateStruct
        $companyCreateStruct = $companyService->newCompanyCreateStruct();
        

      Actual result

      Observe that $companyCreateStruct contains default company Content Type instead of the custom one

      Expected result

      $companyCreateStruct contains custom Content Type created in the step 1.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              andrew.longosz@ibexa.co Andrew Longosz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: