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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sorting attributes with numerical codes #20382

Open
marcin-dorosiewicz opened this issue Jan 9, 2024 · 0 comments
Open

Sorting attributes with numerical codes #20382

marcin-dorosiewicz opened this issue Jan 9, 2024 · 0 comments

Comments

@marcin-dorosiewicz
Copy link

Hi,

馃悰 I'm reporting a Bug 馃悰

Tested on the latest version: 7.0.46 but also earlier versions, there is an error for attributes whose code is numeric. The error relates to the sorting on the product grids.

The way to reproduce this error:

  1. Add an attribute with a numeric code to any group with the option to display on the grid.

Code (required): 385
Type: Simple select
Attribute group (required): General
Usable in grid: Yes

Screenshot from 2024-01-09 07-39-21

  1. Add a column with numeric code to the product grid

Screenshot from 2024-01-09 07-39-53

  1. the page cannot load.

Screenshot from 2024-01-09 07-40-02

Log message:

[2024-01-09T06:40:40.404982+00:00] request.CRITICAL: Uncaught PHP Exception LogicException: "Could not found column(s) "385" for sorting" at /srv/pim/vendor/akeneo/pim-community-dev/src/Oro/Bundle/PimDataGridBundle/Extension/Sorter/SorterExtension.php line 100 {"exception":"[object] (LogicException(code: 0): Could not found column(s) \"385\" for sorting at /srv/pim/vendor/akeneo/pim-community-dev/src/Oro/Bundle/PimDataGridBundle/Extension/Sorter/SorterExtension.php:100)"} []

The way to solve broken product grid

Relogging (The column is not added but we can display the grid)

System info file:

akeneo-pim-system-info_2024-01-09_06 41.txt

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

No branches or pull requests

1 participant