Closed (fixed)
Project:
Content Moderation Info Block
Version:
2.0.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2020 at 18:57 UTC
Updated:
28 May 2025 at 08:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ankitv18 commentedComment #3
ankitv18 commentedAdding patch for state form issues fix while placing the block.
This patch handles the argument error issue with the form.
Comment #4
ankitv18 commentedComment #5
pratik_kambleComment #6
ankitv18 commentedAdding patch for state form issues fix while placing the block.
This patch handles the dependency injection error issue within the form.
Please review this patch #6 and give the feedback
Comment #7
ankitv18 commentedComment #8
ankitv18 commentedAdding patch for state form issues fix while placing the block.
This patch handles the dependency injection error issue within the form.
Please review this patch #8 and give the feedback
Comment #9
ankitv18 commentedComment #10
joel_osc commented@Ankitv18 thank-you for the patch! The fix is working, but the patch failed to apply for me so I had to do one chunk manually:
I cannot figure out why though - the patch seems fine.
Comment #11
rp7 commentedIs this issue still present? Which Drupal version are you using? I'm afraid the module is incorrectly advertising compatibility with Drupal 8.
Comment #12
jstollerThis is still an issue with Drupal 9.5.11 and Content Moderation Info Block 2.0.0-beta1. I've updated the patch from #8 so it applies to the latest version.
Comment #13
jeni_dc commentedPatch from #12 applied cleanly for me on 2.0.0-beta1 and the error is now gone. The block shows as expected.
Comment #14
rp7 commentedLooks like this same issue was also raised in #3263108: ContentModerationInfoBlockForm - Fatal Error.
I see what's going on here. Apparently I've been developing this against the patch @ #2849279: Make the moderation control form an entity form so that it validates entities before save.
I will need to look deeper into a way forward.
Comment #17
rp7 commentedComment #18
rp7 commentedComment #20
rp7 commentedAdded a fix - primarily based on the work done @ https://www.drupal.org/project/content_moderation_info_block/issues/3263... .
Making this module compatible with #2849279: Make the moderation control form an entity form so that it validates entities before save, will be done @ #3523977: Make compatible with moderation control entity form.
Comment #21
rp7 commented