-
Notifications
You must be signed in to change notification settings - Fork 132
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
Data Index - Mapping Issue for duplicate Named Variables at top level #1611
Comments
@debu999 Could you please create a jira with all this details in order to improve to have them into account when defining development priorities? Thanks! |
@nmirasch sure doing it |
@debu999 if you could attach the .proto with the reproducer, could be helpful too |
Sure 20min will add in |
debu999
referenced
this issue
in debu999/kogito-learn
Feb 3, 2023
debu999
referenced
this issue
in debu999/kogito-learn
Feb 3, 2023
https://github.com/kiegroup/kogito-apps/issues/1611 change for the details on duplicage variable name mapping.
new task jira https://issues.redhat.com/browse/KOGITO-8593 is now created. |
We will wait for a response on this @nmirasch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
if there is a variable at parent level in bpmn and similar variable name is also there inside of a java class then it seems data index does not map the data correctly.
Sample Example to demonstrate the issue.
We get the following output
You can see the top level createdDate and updatedDate are having value of
"2022-03-08T00:00:00Z"
This is coming from the data we see in variable cd which as the same variable name within it.Need to check the mapping logic for the data index.
Expected behavior
Above should have been the output viz. createdDate = 11 Mar and updatedDate=12-mar as per payload.
Actual behavior
How to Reproduce?
use the attached bpmn2 file to test the error.
duplicate_variable_name.zip
Output of
uname -a
orver
Darwin Mac-mini.local 22.2.0 Darwin Kernel Version 22.2.0: Fri Nov 11 02:04:44 PST 2022; root:xnu-8792.61.2~4/RELEASE_ARM64_T8103 arm64
Output of
java -version
openjdk version "19.0.1" 2022-10-18 OpenJDK Runtime Environment GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08) OpenJDK 64-Bit Server VM GraalVM CE 22.3.0 (build 19.0.1+10-jvmci-22.3-b08, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
1.33.0.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.8.6 (84538c9988a25aec085021c365c560670ad80f63) Maven home: /Users/debabratapatnaik/.m2/wrapper/dists/apache-maven-3.8.6-bin/67568434/apache-maven-3.8.6 Java version: 19.0.1, vendor: GraalVM Community, runtime: /Library/Java/JavaVirtualMachines/graalvm-ce-java19-22.3.0/Contents/Home Default locale: en_IN, platform encoding: UTF-8 OS name: "mac os x", version: "13.1", arch: "aarch64", family: "mac"
Additional information
fix the issue in di mapping itsonly result mapping issue.
The text was updated successfully, but these errors were encountered: