Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory level importing - Export detailed template: 500 internal server error. #143

Open
xgitxhubx opened this issue Dec 22, 2021 · 0 comments

Comments

@xgitxhubx
Copy link

Summary

TypeError

Oro\Bundle\ProductBundle\Entity\Product::addName(): Argument #1 ($name) must be of type Oro\Bundle\ProductBundle\Entity\ProductName, Oro\Bundle\LocaleBundle\Entity\LocalizedFallbackValue given, called in /var/www/project/vendor/oro/commerce/src/Oro/Bundle/InventoryBundle/ImportExport/TemplateFixture/InventoryLevelFixture.php on line 73

Steps to reproduce
Admin -> Inventory -> Import file -> Export template -> Detailed inventory levels.

https://demo.orocommerce.com/admin/export/template/oro_inventory.detailed_inventory_levels_template

inventory_level_import_detailed_template
oro_inventory_level_bug

Actual Result
500. Internal Server Error.

Expected Result
Template is exported.

Details about your environment

  • OroCommerce version: 4.2.1
  • PHP version: 8.0
  • Database (MySQL, PostgreSQL) version: PostgreSQL 13.2

Additional information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant