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

fix: Add error handling for team options when teams are not used #444

Merged
merged 1 commit into from
Nov 10, 2024

Conversation

wout-o
Copy link
Contributor

@wout-o wout-o commented Nov 10, 2024

Thank you for providing the fixes in release v3.3.2

This PR addresses the issue where Utils::getTenantModel() could return null, leading to the "Class name must be a valid object or a string" error page when trying to edit roles. The solution includes a null check, ensuring that if getTenantModel() returns null, the code safely returns an empty collection.

Copy link

what-the-diff bot commented Nov 10, 2024

PR Summary

  • Tenant Model Update
    This update changes how our system interacts with the tenant model. Now, in cases where the tenant model might not be existing, our system ensures it will return an empty collection instead of causing an error. This enhances the robustness and fault-tolerance of our backend operations.

@bezhanSalleh bezhanSalleh merged commit 7101118 into bezhanSalleh:3.x Nov 10, 2024
1 check passed
@bezhanSalleh
Copy link
Owner

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants