New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing default calendar permissions is broken #9098
Comments
Confirmed by a Japanese user and reported to the Japanese forum Error trace
|
#8534 is the reason for this error. |
The same error reported on Slack. Why this issue closed silently? |
I believe this issue is not fixed yet. Tested on recent 8.5.x branch |
It was closed because @KorvinSzanto said he fixed the issue already. |
@aembler Thanks for the reply, could you re-open it? |
It might be fixed already on develop branch. Need to test |
This has since been fixed. |
If you want to change the default calendar permissions in Dashboard/System&Settings/Calendar/Permissions the URL provided in this file does't work:
https://github.com/concrete5/concrete5/blob/develop/concrete/elements/permission/details/calendar_admin.php#L10
When you click on, lets say "View calendars" on the dashboard page, you get the error ".../concrete/elements/permission/details/calendar_admin.php:10 Call to a member function getID() on null (0)"
This error didn't come up in version 8.5.2 but occurs in 8.5.4 and 9.0.0a3.
Seems like the calendar ID (caID) is only needed if you edit a specific calendar's permissions in Dashboard/Calendars & Events but it's not needed if you edit the default permissions in Dashboard/System&Settings/Calendar/Permissions.
The text was updated successfully, but these errors were encountered: