Description of problem: After changing a HTML component in a form from a Human Task, the change is missed after clicking on "Apply" button. You will need to click on "Source" -> add your changes/content -> click on "Source" again" and then click on "Apply", so it works. Version-Release number of selected component (if applicable): BPM Suite 6.1.0 How reproducible: Always Steps to Reproduce: 1. Create a simple task with one HT; 2. Edit HT form; 3. Select and drag the HTML component to the form; 4. Click in the HTML component and in property button; 5. Click on "Source" button and add the code below replacing the HTML: <p> Pressione o botão abaixo </p> <button onclick="alert('Hello World');">Test</button> 6. Click on "Apply" button. Actual results: Everything will be missed. Expected results: The changes should be applied. Additional info: A workaround would be click on "Source" button again, after adding the changes and then on "Apply" button.
Is it a real bug or an expected behavior?
Modified the component that handles the HTML edition in order to store the changes before the apply button is pressed. Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/62c45e941b8aba039f53fef684f7ea759d078a61 Commit (6.3.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/1803f9721e24fc3848c67ee3bc15d09109ed0c78
HTML content is now properly stored when apply button is pressed. Verified with 6.2.0.ER4.