-
Notifications
You must be signed in to change notification settings - Fork 170
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
[4.x]: Broken preview for products #3215
Comments
Yep seeing this too. Error is: |
Looks like this broke 2 weeks ago in a recent Craft CMS release, since this commit: craftcms/cms@c0a37e1 I will raise the issue with the CMS team and get back to you both soon. Thanks. |
Sounds about right, I've been away most of the last couple weeks but my staff mentioned they've been seeing it a while. (Be handy if they'd told me earlier!) Thanks Luke |
What's going on with this one please? Kind of an important piece of functionality we'd like to get working again ASAP... |
Apologies for not responding here. We looked into it and this was fixed upstream in Craft CMS and the fix will be in the next Craft CMS release. |
Fix is here: |
No dramas - so the next point release, not 4.5, right? |
Just confirming this is all working again for us with the latest Craft update... |
Thanks for updating us @bossanova808 ! |
What happened?
Description
The live preview feature for products in Craft Commerce is not functioning correctly. When accessing the preview, a blank screen is displayed, and in the network tab of the browser's developer tools, a 400 error is observed.
This issue is not limited to my specific installation but can also be replicated in the "Spoke and Chain" demo. It's worth noting that the live preview of entries works correctly, indicating that the problem specifically affects the live preview of products.
Steps to reproduce
Expected behavior
The live preview should display the product information correctly, allowing for a preview of how the product will appear on the website.
Actual behavior
The live preview shows a blank screen, and the network tab in the browser's developer tools displays a 400 error.
Craft CMS version
4.4.15
Craft Commerce version
4.2.11
PHP version
8.1.16
Operating system and version
Linux 6.3.12
Database type and version
MySQL 8.0.31
Image driver and version
Imagick 3.7.0
Installed plugins and versions
The text was updated successfully, but these errors were encountered: