akeneo / pim-community-dev

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

Quick search on the family field in the product creation popin doesn't search in labels #4321

Closed RonanL closed 8 years ago

RonanL commented 8 years ago

Reported in 1.5.1 Tested on Akeneo PIM online demo.

When creating a product, the quick search does not pass the current locale to the ajax request, so the controller only searches in the family codes and not the family labels.

To reproduce on the online demo, create a product and search for a part of a family label that is not in this family code, for instance "Hauts" with the FR locale. Then it doesn't return the expected result ("Hauts Parleurs").

With the english locale the problem is mitigated on the online demo as the code are transcriptions of the labels.

juliensnz commented 8 years ago

Hello Ronan,

Thanks a lot for this detailed bug report.

You got lucky, this issue is already reported: here And will be fixed soon (this week I hope). The PR is almost merged and should be shipped in next 1.5.

Regards,

Julien

a2xchip commented 8 years ago

))) Yeah #4306 and #4302 PR duplication