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

Anchor attribute in InstallData.php #86

Closed
misaert opened this issue Jul 18, 2016 · 1 comment
Closed

Anchor attribute in InstallData.php #86

misaert opened this issue Jul 18, 2016 · 1 comment

Comments

@misaert
Copy link

misaert commented Jul 18, 2016

Hi,

Between https://github.com/Smile-SA/elasticsuite/blob/master/src/module-elasticsuite-catalog/Setup/InstallData.php and https://github.com/Smile-SA/elasticsuite/blob/2.2.x/src/module-elasticsuite-catalog/Setup/InstallData.php, there is a difference with "updateAttributeDefaultValue" method and "is_anchor" parameter: a new "excludedIds" parameter is added.

I have an issue with "is_anchor" attribute of "tree root id" category which is set to 1 because of master version, I guess. Indeed, I can't add category when I try to save a product.

Should we force "is_anchor" attribute of "tree root id" category to 0 in a update data setup?

Thanks,

@afoucret
Copy link
Contributor

There is an update that fix a bug with Magento 2.1.

If you are using Magento 2.1, you must fix it manually. It will be part of the upgrade notice when we will finalize the next version.

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

2 participants