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

rc.user().principal() causes NPE in Plugins #516

Closed
Jotschi opened this issue Oct 15, 2018 · 1 comment
Closed

rc.user().principal() causes NPE in Plugins #516

Jotschi opened this issue Oct 15, 2018 · 1 comment

Comments

@Jotschi
Copy link
Contributor

Jotschi commented Oct 15, 2018

rc.user().principal() requires a running transaction to be used. An NPE happens since plugins don't provide a transaction.

Possible fix: Add default transaction handling in MeshAuthUserImpl if no transaction can be found.

@mephinet mephinet added this to the 1.0.0 milestone Jan 18, 2019
@Jotschi Jotschi self-assigned this Apr 19, 2019
@Jotschi
Copy link
Contributor Author

Jotschi commented May 7, 2019

Released with 0.31.5

@Jotschi Jotschi closed this as completed May 7, 2019
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

2 participants