Skip to content
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

[C1] Error in calendar when deleting user that has registries in agenda_event_invitee #5977

Open
NicoDucou opened this issue Dec 16, 2024 · 0 comments

Comments

@NicoDucou
Copy link
Member

In Chamilo 1.11.x when deleting a user the registry agenda_event_invitee.user_id take a NULL value, but this generate error "Uncaught Error: Call to a member function getId() on null" in main/inc/lib/agenda.lib.php:2135

So to avoid this problem and to have a better coherence in the content in the database if the user is deleted then the registries in agenda_event_invitee related to this user should be deleted to.

@NicoDucou NicoDucou added this to the 1.11.30 milestone Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant