-
Notifications
You must be signed in to change notification settings - Fork 197
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
Custom category attributes disappear on category save #664
Comments
Thank you @pocallaghan for reporting this issue and providing a good explanation. Internal ticket MAGETWO-98589 to fix it |
@victor-v-rad : Was there any progress and is there a workaround to make custom category attributes work after migration? |
Hi @helmuthva @pocallaghan |
@victor-v-rad : I can confirm the workaround worked. |
Is this fixed in the data migration tool v2.3.3? I am having a similar issue. |
yes this particular the issue was fixed in v2.3.3 |
I wonder if I'm having the same issue or something else. I'm on 2.3.3/2.3.3 magento-ce/data migration tool. Not trying to hijack this issue, just trying to track this down. Thanks for the reply! |
Reverting the commit above causes the data migration to work as expected for me, allowing custom category attributes that only exist in M2 to be saved. ie sets the default_attribute_set_id to the attribute set with all the attributes. Should Migrated_Default contain the M2 only attributes as well? |
Preconditions
Steps to reproduce
Expected result
Actual result
attribute_set_id
of the category is set to the default value (this happens in the Save controller), this is an attribute set calledDefault
, rather than the attribute set it had before saving which wasMigration_Default
. Since the custom attributes migrated from M1 aren't associated with the new attribute set, those attributes are no longer loaded when the category is loaded.Additional notes
Upon save the data for the attribute isn't lost, it's still in the database, it's just no longer loaded when the category is loaded because it filters on attribute_set_id.
The text was updated successfully, but these errors were encountered: