Closed (fixed)
Project:
Video
Version:
3.0.5
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Mar 2023 at 16:29 UTC
Updated:
19 Dec 2023 at 09:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
hershey.k commentedComment #4
hershey.k commentedComment #5
eric_a commentedYes, the widget is just broken right now. (Unless you're on Drupal 9, because the deprecated code still works on previous Drupal.)
But if one states that the module works on the current Drupal release, then it's pretty critical that it works on the current Drupal release.
The fix is simple. And passing nothing will just keep the old access check behavior. But without the fatal error.
Comment #7
lisotton commentedThere was one more place reported by Upgrade Status where the `accessCheck` was not called.
Comment #9
codebymikey commentedHi @lisotton,
Do you have the specific code where this is occurring?
accessCheck(FALSE)makes more sense to avoid attempting to create duplicate file entities with the sameuri.Comment #10
rishabjasrotia commentedPatch
Comment #11
lokarkristina commentedPatch #10 applies and solves the issue.
Tested on Drupal 10.1.4
Comment #14
podaroktnx