Hide Forgot
Fix cherry-picked to 6.3.x branch with https://github.com/droolsjbpm/drools/commit/bd3109437
Created attachment 1129507 [details] patch md5sum jboss-bxms-6.2.1-BZ-1310685.zip 9156ec8028d3dc8b77a827dd696ed26f jboss-bxms-6.2.1-BZ-1310685.zip
Patch branch: https://code.engineering.redhat.com/gerrit/gitweb?p=droolsjbpm%2Fdrools.git;a=shortlog;h=refs%2Fheads%2FBZ-1310820 Patch commit: https://code.engineering.redhat.com/gerrit/gitweb?p=droolsjbpm/drools.git;a=commit;h=b3557a674a72c3c49c88da0ffdcbd3d67c619e15 https://code.engineering.redhat.com/gerrit/gitweb?p=droolsjbpm/drools.git;a=commit;h=079a3441ea41d848a1b475f5afe2dd380f7611d0 Test provided by engineering: https://code.engineering.redhat.com/gerrit/gitweb?p=droolsjbpm/drools.git;a=blobdiff;f=kie-ci/src/test/java/org/kie/scanner/KieRepositoryScannerTest.java;h=f1c9ee22ea054f0078beb6c9f604d4f535790859;hp=c4700e9b957b472d648f2e8ea16bd96b00656c85;hb=079a3441ea41d848a1b475f5afe2dd380f7611d0;hpb=388873dee45aa114ff7254d20f4895fd79284e1e
The patch was built from wrong branch. It was built using branch 6.2.x of droolsjbpm/drools repository. However the patch is for BxMS 6.2.1 (see BZ header), which is on branch 6.3.x of drools repository. The commit with fix is also present on branch 6.3.x.
In fact it was built on top a new branch created from the tag "BxMS-6.2.1.GA" - so community 6.3.x. See here the tag from Ant Stephenson: https://code.engineering.redhat.com/gerrit/gitweb?p=droolsjbpm%2Fdrools.git;a=shortlog;h=refs%2Fheads%2FBZ-1310820 see also above the jenkins tag "bsync-6.3.x-2016.01.29" From that tag I pushed the new branch where the patch was built. Is that ok ?
The problem is that jars in patch do not match with version in tag. The pom.xml [1] in commit uses version "6.3.0.Final-redhat-7", but the patch contains jars for "6.2.0.Final-redhat-6". For example "drools-core-6.2.0.Final-redhat-6-BZ1227056.jar". It seems to me that the patch was built using different tag? Or wrong jars were attached to patch? [1] https://code.engineering.redhat.com/gerrit/gitweb?p=droolsjbpm/drools.git;a=blob;f=pom.xml;h=10d48f0fbb4f3aef6ad071dd875da91673d6e56a;hb=b3557a674a72c3c49c88da0ffdcbd3d67c619e15#l8
Created attachment 1131569 [details] patch md5sum jboss-bxms-6.2.1-BZ-1310685.zip 9156ec8028d3dc8b77a827dd696ed26f jboss-bxms-6.2.1-BZ-1310685.zip
ah, sorry that was a wrong jar. My bad, the correct one is now attached.
The patch was verified using reproducer for BZ#1310261 and regression tests passed successfully. This patch is ready for release. patch md5sum - 9156ec8028d3dc8b77a827dd696ed26f Note: It is important to note, that it is necessary to use patched drools-compiler-6.3.0.Final-redhat-7-BZ1310685.jar also while building client applications which use kjar with rules.
Thanks Jiri, I added the note: "Find and replace drools-compiler-6.3.0.Final-redhat-7.jar with the patched drools-compiler-6.3.0.Final-redhat-7-BZ1310685.jar for all occurrences of that file in your project." due that. I am uploading it to support ticket right now.