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

Setup error if default attribute set or group has been removed #18

Open
Nuranto opened this issue May 17, 2023 · 0 comments
Open

Setup error if default attribute set or group has been removed #18

Nuranto opened this issue May 17, 2023 · 0 comments

Comments

@Nuranto
Copy link

Nuranto commented May 17, 2023


        $defaultAttributeSet = $eavSetup->getAttributeSetId($entity, 'Default');
        $defaultGroup        = $eavSetup->getAttributeGroupId($entity, $defaultAttributeSet, 'General');

should be replaced by


        $defaultAttributeSet = $eavSetup->getDefaultAttributeSetId($entity);
        $defaultGroup        = $eavSetup->getDefaultAttributeGroupId($entity, $defaultAttributeSet);

in src/vendor/smile/module-elasticsuite-rating/Setup/RatingSetup.php

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