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
OAUTH2-135 OAuth2ApplicationScopeAliases scopeAliases column is too short for most usages #59368
Conversation
CI is automatically triggering "ci:test:sf" and "ci:test:relevant" for this pull to run Source Formatter and relevant tests. Comment "ci:test" to run the full PR Tester for this pull. |
✔️ ci:test:sf - 1 out of 1 jobs passed in 2 minutes 313 msClick here for more details.Base Branch:Branch Name: master Sender Branch:Branch Name: pull-request-525 1 Successful Jobs:For more details click here. |
✔️ ci:test:relevant - 9 out of 9 jobs passed in 1 hour 4 minutes 12 seconds 362 msClick here for more details.Base Branch:Branch Name: master Copied in Private Modules Branch:Branch Name: master-private 9 Successful Jobs:
For more details click here. |
Merged. Thank you. |
@topolik @csierra this is a very interesting fix/hack. Good job. Can you send a follow up pull? I don't like using the method "hashCode" to generate the hash. I'd rather you add a new method, called "predictableHashCode", or "deterministicHashCode" or, "oAuthHashCode", or something else. Why? I think hashCode is JVM dependent. And even if we override it in BaseModel, that implementation may one day change. And if it changed, our DB logic is now useless. We need an implementation of hash code that we control, that no one else can change, that is always predictable. Please send a follow up pull or we'll end up losing data when a server switches JVMs. |
Hi Brian, Where would you suggest us to add the new function? in the very oauth2-provider-service module? |
Hi Brian,
https://issues.liferay.com/browse/OAUTH2-135
Thanks.
/cc @csierra