Created attachment 1002226 [details] simple web app used for testing embeded forms feature Description of problem: When using google chrome (current latest version 39) When I load a process startform / task form using jbpm-forms-rest-integration.js app and then try to use the form (i.e. start process, claim / complete task) I'm getting javascript error: undefined is not a function. The error seems to be caused by line 9 in jbpm-forms-rest-integration.js: lastConfig.host.startsWith(event.origin) -> lastConfig is not null, but host is null; Version-Release number of selected component (if applicable): BPM Suite 6.1.0 ER6 How reproducible: Always Steps to Reproduce: 1. Open process start form loaded using jbpm-forms-rest-integration.js in google chrome 2. Start the process using this form Actual results: Javascript error in browser javascript console (F12) and the function defined by "successCallback" / "errorCallback" parameters in showStartProcessForm are not called Expected results: No javascript error, and success/error callbacks are called. Additional info: Attached simple web app used for testing embedded forms feature
Additional info: in Firefox this is working without errors: after I load for example task form, then I can claim/start/complete the task using the same loaded form. In Chrome the error is thrown after first click on claim/start/complete and then it's no longer possible to work with the form.
It seems that's been already fixed on a previous commit. Commit (master): https://github.com/droolsjbpm/kie-wb-distributions/commit/17c6b81bea6301cd057a7bbb5b4ebde8d441cb58
Ok, now it works flawlessly. Verified with BPM Suite 6.2.0 DR1 + Chrome 44.