Closed (cannot reproduce)
Project:
Drupal core
Version:
9.3.x-dev
Component:
typed data system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Nov 2015 at 02:59 UTC
Updated:
9 Nov 2023 at 13:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpott@roynilanjan have you got an contrib or custom modules installed? If I follow the steps in the issue summary I can preview the comment just fine...
Comment #3
larowlanComment #4
andypostConfirm the failure, I got standard profile with content translation enabled
After posting comment and clicking "Reply"
/comment/reply/block_content/1/field_comments/7Preview is broken again
Comment #5
roynilanjan commented@alexpott: I haven't installed any contrib/custom module though... but happens when-ever serialization is prevented from
__sleep()Comment #6
dawehnerLet's see how much this breaks.
Comment #7
roynilanjan commentedLast patch seems a good idea to overcome exception handling from
__sleepfor now as far https://www.drupal.org/node/2463321#comment-9796361.We need to test on that
Comment #8
alexpottThis feels at least a major bug and I guess considering I could not reproduce with about content translation that is it somehow related to that module.
Comment #9
tim.plunkettComment #10
swentel commentedI didn't even need to enable content translation/language at all to get the same error.
Comment #11
leisurman commentedI'm getting this error when uploading images that are using entity reference and the media library. Add the images do not get uploaded. If I disable the Interface Translation module the error goes away and the images can be uploaded. I tried the patch but it didn't work for me.
Comment #12
amateescu commentedI tried the steps to reproduce from the issue summary, and I can't trigger the error anymore, even with Content Translation enabled.
Note that the problem mentioned in #11 has its own issue: #2905198: The database connection is not serializable
Comment #13
sylus commentedI am going to reopen this issue as am getting the exact same issue when trying to preview a comment and have a multilingual site configured with an additional french language.
On Drupal 8.3.x
I have already applied the patch over at: #2893029: EntityType objects cannot be reliably serialized without DependencySerializationTrait still to no avail. Additionally have tried the patch above.
Will try to look into this further and provide more information.
Comment #14
sylus commentedComment #21
quietone commentedI tested this on 9.4.x and was not able to reproduce this error, that same as @amateescu 5 years ago. I followed the steps given in the Issue Summary. I then enabled translation on the custom block type and the comment type. Then when translating the comment, I did get a WSOD.
That is a different error than the one here so I will make a new issue for that.
Therefore, closing this as cannot reproduce. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue (starting from "Install Drupal core").
Thanks!
new issue is #3282397: Logic Exception with preview button for block-comment
Comment #22
johnvRelating this to a meta issue.