magento / devdocs

[Deprecated] Magento Developer Documentation
Open Software License 3.0
674 stars 1.76k forks source link

Add note about `InstallData` - per HotJar feedback #3700

Closed shrielenee closed 5 years ago

shrielenee commented 5 years ago

Topic clarification/correction request

Topic Link

https://devdocs.magento.com/guides/v2.2/extension-dev-guide/attributes.html

Extension attribute authentication section

Description

Mention that InstallData will be executed only if the module in question was just inserted in Magento system. Otherwise, you must remove it's the corresponding entry from setup_module table, or use UpdateData class.

Possible solutions

Additional information

Kevin comment: This topic might require some additional changes for 2.3.x. MSI is making CatalogInventory obsolete, while Declarative Schema might change how the attributes are saved.

Per HotJar feedback - @jcalcaben owns Extension Dev Guide

keharper commented 5 years ago

This topic might require some additional changes for 2.3.x. MSI is making CatalogInventory obsolete, while Declarative Schema might change how the attributes are saved.

lorikrell commented 5 years ago

Closing this ticket as content was provided in a merged PR. If additional work is needed, a new issue can be opened.