akeneo / pim-community-dev

[Community Development Repository] The open source Product Information Management (PIM)
http://www.akeneo.com
Other
954 stars 514 forks source link

error 500 products #9903

Closed vukomir closed 4 years ago

vukomir commented 5 years ago

I'm reporting a Bug

Please update to the last available patch for the version.

For version >= 1.4, please go to "System > system info", download the text report and attach it to the issue.

Then explain the expected behavior, the encountered behavior and the steps to reproduce. I'm running the last version of Akeneo community and when I go to products I can see that one requests end in error 500 /datagrid/product-grid/attributes-filters?page=1&locale=en_GB

if i checked the logs i get the following

[2019-04-14 11:40:06] request.CRITICAL: Uncaught PHP Exception InvalidArgumentException: "Reference data "usbconnectors" does not exist" at /var/www/pim/vendor/akeneo/pim-community-dev/src/Oro/Bundle/PimFilterBundle/Filter/ProductValue/ReferenceDataFilter.php line 78 {"exception":"[object] (InvalidArgumentException(code: 0): Reference data \"usbconnectors\" does not exist at /var/www/pim/vendor/akeneo/pim-community-dev/src/Oro/Bundle/PimFilterBundle/Filter/ProductValue/ReferenceDataFilter.php:78)"} []

Doodoune commented 5 years ago

Hi @vukomir,

Did the reference data "usbconnectors" exist in your database? Did you create it and remove it after?

To check if the entities are correctly set up, use the following command: php bin/console doctrine:mapping:info. Can you send us the return of this command?

Regards,

Doodoune commented 4 years ago

I closed this issue, feel free to reopen it with more details to help us to reproduce it.

Regards,