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
IDEMPIERE-5169 OAuth2: add same email account on other client will break it on old client #1146
IDEMPIERE-5169 OAuth2: add same email account on other client will break it on old client #1146
Conversation
…eak it on old client
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after fix review comment then i test success but not-success with encrypt case by issue report at IDEMPIERE-5168
-
i get bellow exception when run encrypt process because i have accessKey when encrypt make length > 8000 character
23:59:37.207===========> ColumnEncryption.changeFieldLength: EncryptError [ChangeFieldLength]: ColumnID=214402, NewLength=8016 [274] 23:59:37.218===========> ColumnEncryption.process: java.lang.Exception [274] java.lang.Exception at org.compiere.process.ColumnEncryption.changeFieldLength(ColumnEncryption.java:519)
-
i change data type of accessKey to textLong by that i can't run encrypt process by readonly logic
org.adempiere.base/src/org/compiere/model/MAuthorizationAccount.java
Outdated
Show resolved
Hide resolved
I haven't tested, if CLOB columns can be encrypted by iDempiere, we can add that one to the readonly logic. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test passed for whole case with support of IDEMPIERE-5168
…eak it on old client (#1146) * IDEMPIERE-5169 OAuth2: add same email account on other client will break it on old client * Fix wrong SQL - thanks to HiepLq * Fix wrong parameters - thanks to HiepLq
https://idempiere.atlassian.net/browse/IDEMPIERE-5169
Opening this in draft because is not tested against real potential cases: