Closed (fixed)
Project:
OpenAgenda
Version:
4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2024 at 12:32 UTC
Updated:
29 Jan 2026 at 18:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sgostanyan commentedComment #3
sgostanyan commentedComment #4
sgostanyan commentedComment #5
pacproduct commented@sgostanyan's patch in #2 solved a fatal error I had when submitting an open agenda content type:
Uncaught PHP Exception TypeError: "OpenAgendaSdk\OpenAgendaSdk::hasPermission(): Argument #1 ($agendaUid) must be of type int, string given, called in /var/www/public/modules/contrib/openagenda/src/Plugin/Validation/Constraint/OpenagendaPermissionValidator.php on line 42Thanks!
Comment #6
mably commentedCan we have an MR please?
Comment #9
mably commentedThe event parameter format check is now done in the param converter instead of the routing requirement.
No more WSOD but a prettier 404 instead.
Seems far better, let's merge this.
Comment #11
mably commentedComment #13
mably commentedOops, sorry, that fix was for another issue: #3395244: openagenda.event route throws an exception when viewing a URL with uppercase in the event name
Reopening.
Comment #16
mably commentedComment #17
mably commentedStill wondering why hasPermission was used in the first place. An idea anyone?
Is it a requirement from OpenAgenda?
Comment #19
mably commentedLet's merge this and see how things go.