This bundle adds full integration between Pimcore and CI-HUB Connector. Now you can add, delete and download all assets, lock and unlock, get all versions for specified asset and much more.
I have removed Product class from CI-HUB Schema. After Save CI-HUB remove data from ES.
We got 500 error and many logs like this:
[2024-04-11T10:16:23.916672+02:00] messenger.WARNING: Error thrown while handling message CIHub\Bundle\SimpleRESTAdapterBundle\Messenger\UpdateIndexElementMessage. Sending for retry #1 using 1000 ms delay. Error: "Handling "CIHub\Bundle\SimpleRESTAdapterBundle\Messenger\UpdateIndexElementMessage" failed: Pimcore\Model\DataObject\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/jysk.pimcore.dev.convert.no/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58" {"class":"CIHub\\Bundle\\SimpleRESTAdapterBundle\\Messenger\\UpdateIndexElementMessage","retryCount":1,"delay":1000,"error":"Handling \"CIHub\\Bundle\\SimpleRESTAdapterBundle\\Messenger\\UpdateIndexElementMessage\" failed: Pimcore\\Model\\DataObject\\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/pimcore.dev/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58","exception":"[object] (Symfony\\Component\\Messenger\\Exception\\HandlerFailedException(code: 0): Handling \"CIHub\\Bundle\\SimpleRESTAdapterBundle\\Messenger\\UpdateIndexElementMessage\" failed: Pimcore\\Model\\DataObject\\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/pimcore.dev/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58 at /var/www/pimcore.dev/www/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124)\n[previous exception] [object] (TypeError(code: 0): Pimcore\\Model\\DataObject\\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/jysk.pimcore.dev.convert.no/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58 at /var/www/pimcore.dev/www/vendor/pimcore/pimcore/models/DataObject/Service.php:1645)"} []
How to reproduce
hard to say. working with class definition. import products. etc.
Pimcore version(s) affected
11
Description
I have removed Product class from CI-HUB Schema. After Save CI-HUB remove data from ES. We got 500 error and many logs like this:
[2024-04-11T10:16:23.916672+02:00] messenger.WARNING: Error thrown while handling message CIHub\Bundle\SimpleRESTAdapterBundle\Messenger\UpdateIndexElementMessage. Sending for retry #1 using 1000 ms delay. Error: "Handling "CIHub\Bundle\SimpleRESTAdapterBundle\Messenger\UpdateIndexElementMessage" failed: Pimcore\Model\DataObject\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/jysk.pimcore.dev.convert.no/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58" {"class":"CIHub\\Bundle\\SimpleRESTAdapterBundle\\Messenger\\UpdateIndexElementMessage","retryCount":1,"delay":1000,"error":"Handling \"CIHub\\Bundle\\SimpleRESTAdapterBundle\\Messenger\\UpdateIndexElementMessage\" failed: Pimcore\\Model\\DataObject\\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/pimcore.dev/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58","exception":"[object] (Symfony\\Component\\Messenger\\Exception\\HandlerFailedException(code: 0): Handling \"CIHub\\Bundle\\SimpleRESTAdapterBundle\\Messenger\\UpdateIndexElementMessage\" failed: Pimcore\\Model\\DataObject\\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/pimcore.dev/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58 at /var/www/pimcore.dev/www/vendor/symfony/messenger/Middleware/HandleMessageMiddleware.php:124)\n[previous exception] [object] (TypeError(code: 0): Pimcore\\Model\\DataObject\\Service::getCsvDataForObject(): Argument #2 ($requestedLanguage) must be of type string, null given, called in /var/www/jysk.pimcore.dev.convert.no/www/vendor/bo-hub/ci-hub-api-bundle/src/Provider/Traits/HasDataObjectProvider.php on line 58 at /var/www/pimcore.dev/www/vendor/pimcore/pimcore/models/DataObject/Service.php:1645)"} []
How to reproduce
hard to say. working with class definition. import products. etc.
Possible Solution
Additional Context
No response