We are using 4.3.2 version of the module in one of our sites .
We need to use the file ConfigureAction.php for one a rejection request flow in the site , thus while trying to trigger the same , its throwing the below error in Kibana and the flow breaks.
Error: Cannot modify readonly property Drupal\pfecmarketingchops_course\Form\RejectionForm::$tempStoreFactory in Drupal\views_bulk_operations\Form\ConfirmAction->__construct() (line 30 of /site-archive/pfecmarketingchops-1737441397/app/modules/contrib/views_bulk_operations/src/Form/ConfirmAction.php).
Similar issue has been resolved for src/Form/ConfirmAction.php which suggests we require dependency trait to use the readonly variables defined.
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 3501102-6.patch | 749 bytes | nishavaghela |
| #5 | 3501102-5.patch | 778 bytes | nishavaghela |
Issue fork views_bulk_operations-3501102
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
nishavaghela commentedI am adding this patch to resolve above issue . Please help me validate the same.
Comment #7
arunsahijpal commentedI've checked it on my local and assure that the error is resolved by the above patch/MR.
Comment #8
nishavaghela commentedComment #9
yasminorj commentedI've updated the status to 'Needs Review' for the patch from #8.
Comment #10
serhii shandaliuk commentedI'm currently working on this.
Comment #11
serhii shandaliuk commentedLooks like you are trying to use the contrib form and remove readonly parameters. This could lead to unexpected behavior. I've tried to reproduce it on my local but it works well for me before patch applying.
Comment #14
graber commentedComment #16
quietone commentedChanging tags per Issue tags field and Issue tags -- special tags for issue #3565085: Drupal core issue tag cleanup.