-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
JBPM-9884 Dont allow to modify process variable of type Integer/Boole… #2013
base: main
Are you sure you want to change the base?
Conversation
Jenkins run fdb |
c3d9c29
to
faf0482
Compare
Jenkins retest this |
Jenkins run fdb |
Jenkins run fdb |
Kudos, SonarCloud Quality Gate passed! |
Jenkins run fdb |
4 similar comments
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
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.
@bxf12315 I've added some comments on the validation code and could you mind add some testing, Thanks!
jbpm-flow/src/main/java/org/jbpm/process/core/datatype/impl/type/IntegerDataType.java
Outdated
Show resolved
Hide resolved
jbpm-flow/src/main/java/org/jbpm/process/core/datatype/impl/type/BooleanDataType.java
Show resolved
Hide resolved
jbpm-flow/src/main/java/org/jbpm/process/core/datatype/impl/type/FloatDataType.java
Outdated
Show resolved
Hide resolved
jbpm-flow/src/main/java/org/jbpm/process/core/datatype/impl/type/IntegerDataType.java
Outdated
Show resolved
Hide resolved
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
2 similar comments
Jenkins run fdb |
Jenkins run fdb |
d941bfa
to
06d6494
Compare
SonarCloud Quality Gate failed. |
Jenkins run fdb |
3 similar comments
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
…an/..etc with invalid values through business-central console.
Jenkins run fdb |
SonarCloud Quality Gate failed. |
Jenkins run fdb |
5 similar comments
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
3 similar comments
Jenkins run fdb |
Jenkins run fdb |
Jenkins run fdb |
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.
@bxf12315 Code looks good. The only that remains is to remove an unused import and add some unit testing for verifyDataType, passing different values for each modified DataType and validating that passing string representation of basic type value is allowed.
@@ -20,6 +20,7 @@ | |||
import java.io.ObjectInput; | |||
import java.io.ObjectOutput; | |||
|
|||
import org.apache.commons.lang3.StringUtils; |
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.
@bxf12315 this unused import needs to be removed
Jenkins run fdb |
1 similar comment
Jenkins run fdb |
…an/..etc with invalid values through business-central console.
Thank you for submitting this pull request
JIRA: (please edit the JIRA link if it exists)
https://issues.redhat.com/browse/JBPM-9884
referenced Pull Requests: (please edit the URLs of referenced pullrequests if they exist)
How to retest this PR or trigger a specific build:
a pull request please add comment: Jenkins retest this
a full downstream build please add comment: Jenkins run fdb
a compile downstream build please add comment: Jenkins run cdb
a full production downstream build please add comment: Jenkins execute product fdb
an upstream build please add comment: Jenkins run upstream