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

SAK-50955 forums repeated rubrics permissions appears in realm tables #13281

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

jesusmmp
Copy link
Contributor

@jesusmmp jesusmmp commented Feb 5, 2025

Copy link
Contributor

@ottenhoff ottenhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting find!

@ern
Copy link
Contributor

ern commented Feb 5, 2025

I have seen this with modi, the reason it happens is because something is forcing the init (typically ComponentManager) of a Spring bean before Spring wants to init it, so Spring attempts to init related services however they're not fully ready then something fails to init and spring throws away all the related beans. Then it attempts to do it again, causing these init methods to execute more than once. This is why were not using modi right now. Another little fact I noticed is that forums/Discussions was biggest cause for this.

@ern ern changed the title SAK-50955 A lot of repeated rubrics permissions appears when checking Realms SAK-50955 forums repeated rubrics permissions appears in realm tables Feb 5, 2025
@ottenhoff
Copy link
Contributor

what is modi?

@csev
Copy link
Contributor

csev commented Feb 6, 2025

MODI was the spring stuff Noah did a while back (MOdern Dependency Injection for Sakai components)

@jesusmmp
Copy link
Contributor Author

jesusmmp commented Feb 6, 2025

I don't know why this is only happening on our Oracle Sakai 25 test instance. I can't reproduce it on nightly.
The permissions are not repeated on realm tables.

@ern ern merged commit e4896c3 into sakaiproject:master Feb 6, 2025
5 checks passed
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.

4 participants