- Merge request !130Issue #3317113: Fix fatal error: Call to null actionAccess() method. → (Open) created by jaydev bhatt
- 🇮🇳India jaydev bhatt Pune, Maharashtra
Raised an MR moving this to NR for further verification.
There are several reports on
#2893259: Flags problem with VBO module in views →
of error messages including Call to a member function actionAccess() on null
.
Comment #36 on that issue:
I am facing an issue, when i use "User VBO(views bulk operation)" to update the notification interval with the help of Message Digest module.
When I try to submit the VBO form from front end it gives the below errorError: Call to a member function actionAccess() on null in Drupal\message_digest_ui\Plugin\Action\DigestInterval->access()
Comment #37 from that issue:
I am getting also the same error as on #36. I am using VBO 2.x version, drupal 8.7.1.
In my view I use (views bulk operations) as field instead of "Node operations bulk form" field.
This field permit me to run the action in a batch set up in the view and in case of multiple rows the site will not crash.Error: Call to a member function actionAccess() on null in \flag\Plugin\Action\FlagAction->access() (line 82 of
There are patches proposed in the other issue. From #39 and #40:
I experienced same error than #36, #37, #38. Debugging a bit I found that is because FlagAction constructor doesn't get configuration from VBO operation. I tried to determine why but no luck, then I implemented a workaround/compatibility code parsing flag type and action from plugin id. Patch Attached
...
#39 but with better formatting.
I have attached the second patch to this issue.
Needs work
4.0
Actions integration
The patch will have to be re-rolled with new suggestions/changes described in the comments in the issue.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Raised an MR moving this to NR for further verification.