-
Notifications
You must be signed in to change notification settings - Fork 9.4k
set backend_type only for new created attributes - fix for issue #9219 #9225
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
Conversation
@mhauri with this PR the backend type will be assigned to the attributes which are created from the InstallData scripts (which are not not user-defined). Is there any reason to remove the condition |
Well, actually it will only set the backend_type for attributes which haven't one. |
@mhauri |
Here you go:
|
Is there a reason why a save of an attribute from UI is different from an I never knew You peeps are fixing a symptom here. |
@adragus-inviqa indeed, but maybe this should be done by another PR and not mixed with this one. |
Hi @mhauri |
Hi @mhauri |
Closing this RP due to inactivity. @mhauri feel free to reopen this PR once ready. Thank you |
Hi @okorshenko sorry for late answer, I'm on it. |
Hi @mhauri please reopen this PR once ready. Thank you |
Hi @okorshenko can you point me to which test fails exactly, because I was testing the core on a state before my changes (commit: 9224419) and there where already failing integration tests. So it would be glad If you can point me to which one is failing because of my commit. |
Hi @mhauri |
@okorshenko seems like the failing tests happened after your merge as the build did pass with my latest commit (https://travis-ci.org/magento/magento2/builds/222287766) but failed after your merge commit. As far as I can see is that also the current develop version build failed. (https://travis-ci.org/magento/magento2/builds/262152377) |
Hi @mhauri UPD: latest build is green: https://travis-ci.org/magento/magento2/builds/262152377 |
…fix-09022024 Cia 2.4.8 beta1 develop bugfix 09022024
Description
At the moment all user defined attributes got set the backend_type based on frontend_input regardless if the attribute already exists and has a defined backend_type.
This PR fixes this by setting the backend_type only for new created attributes.
Fixed Issues (if relevant)
Contribution checklist