-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Magento 2 version 2.4.7-p2 “Page Builder was rendering for 5 seconds without releasing locks” error. #39076
Comments
Hi @sunit9. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
I have check in firefox but not working. |
Hi @engcom-Bravo. Thank you for working on this issue.
|
I think your problem is with mageno 2.4 and CORS - apache htaccess or nginx requires some tweaking Check your browser's javascript console log. Access to script at 'https://example.com/static/versionXXXXXXXXXX/adminhtml/Magento/backend/en_US/requirejs-config.js' from origin 'null' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. The solution is explained here: Had the same issue. The above worked for a support case. Hopefully it will work for you too. From the magento stack exchange:
|
@magento give me 2.4.7-p2 instance |
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Bravo, here is your Magento Instance: https://14ab03d38900151067a7d8dc2d86d5f6.instances-prod.magento-community.engineering |
@medigeek Thanks for your Contribution!! Hi @sunit9, Thanks for your reporting and collaboration. Could you please refer this comment #39076 (comment). which resolves your issue and please let us know if you are still facing any issue. Thanks. |
I have change in following file
To
In sandbox i append "allow-same-origin" It works for me. I do not have idea it's good solution or not. If anyone know then please advise. |
Adobe Commerce confirmed this issue on our 2.4.7-p1 install and offered us the following patch that fixed it (ACSD-59582_2.4.7)
|
Adding Based on the patch above (thanks @chrisoliver90!), here are commits that fix this in Magento OS modules: |
@hostep I don't understand, was this released with 2.4.7 / 2.4.7-p2 ? Is this patch available somewhere? Is this added to the release notes? AFAICS this affects 2.4.7-p2. |
OK so I tried out and noticed that the latest versions of backend and page builder modules don't have this code included. Having another go at this, these are the composer-compatible patches: |
@hostep @chrisoliver90 Thanks for your Contribution!! As per this comment #39076 (comment) we are closing this issue. Thanks. |
@engcom-Bravo was this issue documented in 2.4.7 and 2.4.7-p2 release notes? When can we expect this bugfix issue to be released as a version or an official patch? Thank you. |
Is any one has tried this solution into Magento CE 2.4.7-p2 ? I tired but not working. |
@sunit9 it should, as far as I can see the change in code removed the |
Magento's quality patches 1.1.50 got released today and also contains patches for this problem for various versions of Magento: magento/quality-patches@e8ad819...d2e5320#diff-5c6d9dd586fe0c5875aa848aad7a1d0729ff28ff44d8bb8d3bec92dfa02f3207R12282-R12311 |
@medigeek I got following error in console after apply fix-backend-error-page-builder-when-editing-cms-block.patch fix-error-page-builder-when-editing-cms-block.patch [2024-08-28 02:37:57] [ERROR] Page Builder was rendering for 5 seconds without releasing locks. I am working on my local system. So no cloudflare proxy |
Same happneing with me! Is it related to chrome browser? |
@sunit9 try reproduce in vanilla magento (clear new installation of magento) |
@hostep I got following the still we are getting the issue magento/magento2-page-builder@70634ff Please fix this issue ASAP |
After applying the new patch released ACSD-60169 we are still experiencing this issue in all browsers tested (Chrome/Firefox/Safari). Recompiled we experience that this issue sporadically resurfaces when saving. Sometimes the saves are successful in Firefox, other times we get the |
@daniel-zaretsky1 Yes, we are not getting the every time the issue was coming sporadically resurfaces when saving, sometimes the save successful(Chrome/Firefox/), and other times we get the [ERROR] Page Builder was rendering for 5 seconds without releasing locks, permanent fix, can you let us know we are using open source Magento 2,4,7-p2 |
Not sure if this will help your issue. It might be regarded as a security issue, but it will probably make your site work, until you find a more secure long-term solution.
|
Magento 2 version 2.4.7-p2(CE), “Page Builder was rendering for 5 seconds without releasing locks” error. we applied the patch but still got the error ACSD-59582_2.4.7.patch, anyone please provide the solution |
did you guys do a |
Yes, we are using composer update, our page builder version is v2.2.5-p2 with magento2.4.7-p2, this page builder version correctly still we are getting the issue "“Page Builder was rendering for 5 seconds without releasing locks” |
@anjali25021995 try reproduce the issue in plain vanilla magento (default theme and default clean magento installation) if possible. |
@medigeek Not working in vanilla installation. I tried env.php solution also. @engcom-Bravo Please re-open this issue. |
@medigeek The patch I provided (ACSD-59582_2.4.7) was sent to us directly from Adobe Commerce. |
This is still an issue |
@sunit9 try the patch from chris in comment above: #39076 (comment) |
@medigeek this patch looks like. So it may not work. magento/magento2-page-builder@70634ff This may work in Adobe commerce but not working in Community Edition. I think need to re-open issue for CE. |
@sunit9 you could reopen the issue or open a new issue at page builder: https://github.com/magento/magento2-page-builder/issues |
issue is not resolved on MOS . |
Adobe support recommended us to try another patch: ACSD-48857 this had to do with certain aged pages + blocks not being properly parsed by page builder after an AC version upgrade was performed and revisited. This patch was the solution for us that fixed the issue. |
well in our case it returned, the solution was to add the nginx configuration headers as mentioned above: #39076 (comment) don't add the API-related I added this snippet in PHP entry point for main application and in: The snippet:
secure or not, it works. until magento open source provides a proper fix for this. |
To repeat myself, there are patches included for this in the magento quality patches repository, you can find them in the os and commerce directories. They are defined like this for various versions of Magento and should be applied to 2 different magento packages: "ACSD-59514": {
"categories": [
"Admin"
],
"title": "Fixes the issue where forms in the Admin area with Page Builder throw the error \"Page Builder was rendering for 5 seconds without releasing locks.\" in the browser console after submitting the form, and changes can't be saved.",
"packages": {
"magento/magento2-base": {
">=2.4.4 <2.4.4-p9 || >=2.4.5 <2.4.5-p8 || >=2.4.6 <2.4.6-p6": {
"file": "os/ACSD-59514_2.4.4-p8.patch"
},
">=2.4.4-p9 <2.4.5 || >=2.4.5-p8 <2.4.6 || >=2.4.6-p6 <2.4.7": {
"file": "os/ACSD-60169_2.4.6-p6.patch"
},
">=2.4.7 <2.4.7-p2": {
"file": "os/ACSD-59582_2.4.7.patch"
}
},
"magento/module-page-builder": {
">=2.2.2 <2.2.2-p9 || >=2.2.3 <2.2.3-p8 || >=2.2.4 <2.2.4-p6": {
"file": "commerce/ACSD-59514_2.2.2-p7.patch"
},
">=2.2.2-p9 <2.2.3 || >=2.2.3-p8 <2.2.4 || >=2.2.4-p6 <2.2.5": {
"file": "commerce/ACSD-60169_2.2.4-p6.patch"
},
">=2.2.5 <2.2.5-p2": {
"file": "commerce/ACSD-59582_2.2.5.patch"
}
}
}
}, |
@hostep I admire the commitment but unfortunately for some reason ACSD-59582_2.4.7.patch on 2.4.7-p2 doesn't work when applied (i.e. successfully applied but doesn't fix the issue). The only fix that would work was the nginx in my case. mileage may vary obviously. |
fixed this for me : [2.4.7-p2 and 2.4.7-p3 MOS ]
not
|
I applied all the patches and It wasn't working for me. I purged cloudflare's cache and the page started saving correctly. Maybe this might help someone. |
Hi All, Tried solution for above issue on Magento2.4.7-p2 working fine and page builder issue not coming now. create app/code/Vendor/Module/view/adminhtml/requirejs-config.js
}; app/code/Vendor/Moduleview/adminhtml/web/template/ |
I believe I've found the root of the CORS issue described in #39076 (comment) Earlier this year, changes were made to the Csp module to add subresource integrity to js files. While originally intended to only be added for checkout and order payment pages, currently it is applied to the 'requirejs-config.js' file on every page in storefront and adminhtml. We're currently still using the 2.4.6 release line, and these changes look to have been added in 2.4.6-p6. I created a small module to fix the issue only on the pagebuilder_stage_render page. |
Thanks for the hint @smartexcan, I'll link to #39250 which is now very closely related to this issue I believe. |
Hello, I have this issue on Magento 2.4.7-p3. To fix that I applied this patch on requirejs module |
you could possibly try: magento/magento2-page-builder#866 (comment) |
Preconditions and environment
Magento 2.4.7-p2
Steps to reproduce
Expected result
Block should be save successfully.
Actual result
On screen only loader display and in console getting error.

Page Builder was rendering for 5 seconds without releasing locks
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: