You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The createDatagridQueryBuilder() method in the Pim\Bundle\CustomEntityBundle\Entity\Repository\TranslatableCustomEntityRepository class uses the localeCode parameter which is not set in any of the classes functions. If it is on purpose that the user should specify the parameter when extending, there should be at least a comment somewhere stating that.
The text was updated successfully, but these errors were encountered:
Actually, this parameter is automatically appended to the queryBuilder by Pim\Bundle\DataGridBundle\EventListener\AddLocaleCodeToGridListener, see here.
We should definitely add a comment that it must be kept when overriding the Pim\Bundle\CustomEntityBundle\Entity\Repository\TranslatableCustomEntityRepository
The createDatagridQueryBuilder() method in the
Pim\Bundle\CustomEntityBundle\Entity\Repository\TranslatableCustomEntityRepository
class uses thelocaleCode
parameter which is not set in any of the classes functions. If it is on purpose that the user should specify the parameter when extending, there should be at least a comment somewhere stating that.The text was updated successfully, but these errors were encountered: