-
Notifications
You must be signed in to change notification settings - Fork 63
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
Broken CMS block preview when using identifier in pagebuilder #812
base: develop
Are you sure you want to change the base?
Broken CMS block preview when using identifier in pagebuilder #812
Conversation
@magento run all test |
Failed to run the builds. Please try to re-run them later. |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @rvr-robert,
Thanks for the collaboration!
Please update the PR branch with the latest changes in the master branch. Then we will pick this PR for review. It seems the failures are due to this only.
Thanks
@magento run all tests |
Hello @rvr-robert @jeremycharron, Thanks for the contribution! Can you please help us understand the need to update the database in order to reproduce the issue? I think this is not the correct way to produce an issue. Can we reproduce the issue without this? Thanks |
Hi @engcom-Hotel Thanks |
@magento run all tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @rvr-robert,
Thanks for the contribution!
Please refer to the below review comment and fix those. Also please look into the failed tests.
Thanks
['block_id', 'identifier'], | ||
[ | ||
['eq' => $params['block_id']], | ||
['eq' => $params['block_id']] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems to me a typo, please review this condition ['eq' => $params['block_id']]
is repeating.
Description (*)
When adding a CMS block in a CMS page using the block identifier instead of the block ID, pagebuilder displays following error : "Block with ID: [block identifier] doesn't exist." instead of showing preview of the CMS block.
The block renders properly on front-end.
There is no way to add a block with his identifier directly from pagebuilder. This issue would only happen if a developer executes a data patch that generates CMS content or directly edit the content in the database.
Bug
Fixed Issues (if relevant)
Manual testing scenarios (*)
Checklist