Description of problem: Data Assignment Editor cannot load these Data Assignments: procVar -> myVar; myVar -> procVar where: 'procVar' is process variable, 'myVar' is data input and data output of same task. Please check bz 1119231 for more information. Version-Release number of selected component (if applicable): roll up patch 6.0.3_1_2014 build 2 and 3 (both product BPMS and BRMS) Steps to Reproduce: 1. Create a simple process Start->HumanTask->End 2. Define process variable: 'procVar' 3. Define data input of task: 'myVar' 4. Define data output of task: 'myVar' 5. Open Data Assignment Editor and define these assignments: - Data Input: procVar->myVar - Data Output: myVar->procVar 6. Save assignments 7. Reopen Data Assignment Editor Actual results: There is only one data assignment. Expected results: All assignments which were saved should be present. Additional info:
Created attachment 956355 [details] Screenshot of problem Data assignment input shows two assignemnts, but the editor just one.
Even if this problem does not occur in the first build of patch, the problem can be present in any commit of patch. The first build changed just property-view.js and it did not change compressed javascript files like designer-plugin.js.
The productization repository contains an commit which does not represent any bugzilla issue and probably it was cherrypicked from master to 6.0.x. https://github.com/droolsjbpm/jbpm-designer/commit/14b986cb19b2ddd4b5ef69d441c176dce57294fc
Commits: master: https://github.com/droolsjbpm/jbpm-designer/commit/290df74fcc459b138923b46776f180da7d720c0e 6.2.x: https://github.com/droolsjbpm/jbpm-designer/commit/6eb5f4734c7d84b3fe0926c1448938c994aa2faa 6.1.x: https://github.com/droolsjbpm/jbpm-designer/commit/e57bd26715cdecd88a99fc7690dc0364fed2c184 6.0.x: https://github.com/droolsjbpm/jbpm-designer/commit/13233284ad0e2dd530c8a1469ce52d2c78f0e560
Data Assignment editor cannot be opened any more. Firebug console returns: ReferenceError: dataassignmentProxy is not defined Please correct me if I am wrong: - you have deleted just this code in the commit: var dataassignmentProxy = new Ext.data.MemoryProxy({ root: [] }); But this variable has got only one useage which has not been deleted yet: ... reader: new Ext.data.JsonReader({ root: "root" }, DataAssignment), proxy: dataassignmentProxy, sorters: [ ...
Created attachment 956625 [details] JS error in console
I have checked commit on branches and I found out that 6.2.x, 6.1.x and master are same but 6.0.x is totaly different. Maybe the problem is a backporting from master to 6.0.x branch.
I can confirm that changes at master was done at 6.0.x branch too, but unfortunately there is the another change which broke Data Assignment Editor and I cannot check it now.
fixed merge problem in 6.0.x: https://github.com/droolsjbpm/jbpm-designer/commit/ed12a6347a89b8a058d6389caafed710a7ec9ac4 For the patch the file needed to be included into the patch after a build is ${project.build.directory}/classes/org/jbpm/designer/public/js/compressed/designer-plugins.js
Waiting for further verification, moving back to assigned.
the fix for the merge problem and the particular test case of this bz is in the 6.0.x branch. it would help if QA could verify it to make sure we are all clear to go
The patch zip has been updated in the same folder, Please verify again. bfb196bcdc7812c96f8851b96708f081 BZ-1146248.zip
This issue was fixed. I need to check issues of patch again. Just to be sure that the fix does not break other issues.
This commit has broke bz 1149123.
Commit to 6.0.x for the regression of metioned BZ 1149123: 6.0.x: https://github.com/droolsjbpm/jbpm-designer/commit/b4645acdc I have attached the corresponding output JS file to this BZ which you can use to quickly test without waiting on the build (just replace the one in your distro with the attached).
Created attachment 957220 [details] designer-plugins.js to be used for testing
This issue has been fixed by the last commit. The full regression test suite runs with this fix without problems. It was tested with java7 x fedora20 x firefox. I do not expect another regression issue.
OK, I have rebuilt the jbpm-designer with the latest code. (See: https://brewweb.devel.redhat.com/buildinfo?buildID=398783 ) The patch files has been packed in Rollup distributions. Please verify. 8687000b63317478278e5af571d7b691 BZ-1146248.zip
fix is not also in designer 6.2.x branch