magento2-page-builder
magento2-page-builder copied to clipboard
Text Editor does not show on edit page when attribute Catalog Input Type for Store Owner is changed to Text Editor.
Preconditions (*)
- Magento 2.4.3 / php 7.4
- Page Builder 2.2.1
Steps to reproduce (*)
- Add a category attribute with the attribute code "short_description" to your magento install.
- Stores->attributes->products, edit short_description to be "text editor" on the "Catalog Input Type for Store Owner"
Expected result (*)
- The expected result is that when you go to catalog->products and edit a product, that the short description would show a tinymce editor.
Actual result (*)
- It does not show a tinymce editor.
It seems that the issue is the somewhere page builder is assuming the attribute_code, "short description" is unique. But attribute code is not unique, the key on the database is (attribute_code, entitiy_type_id) - meaning it is possible to have the same attribute code for products and then for categories.
For anyone having issues like this, the current work around is to rename the attribute code for the category from "short_description" to "short_description_category"
However, this is a bug, because the system should work with the expected result.
Hi @cdbessig. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
Hi @cdbessig,
Thanks for your reporting and collaboration.
We have verified the issue and the issue is no more reproducible.
Hence we are closing this issue.
Thanks.