Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1232426 - Unable to modify the HTML component in a form by clicking on "Apply" button in BPM Suite 6.1.0
Unable to modify the HTML component in a form by clicking on "Apply" button i...
Status: VERIFIED
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Form Modeler (Show other bugs)
6.1.0
Unspecified Unspecified
high Severity high
: ER4
: 6.2.0
Assigned To: Pere Fernàndez
Marián Macik
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-06-16 13:57 EDT by Amana
Modified: 2015-10-27 10:09 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Amana 2015-06-16 13:57:11 EDT
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.
Comment 1 Amana 2015-06-16 13:57:50 EDT
Is it a real bug or an expected behavior?
Comment 3 Pere Fernàndez 2015-09-23 10:42:06 EDT
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
Comment 4 Marián Macik 2015-10-27 10:09:07 EDT
HTML content is now properly stored when apply button is pressed. Verified with 6.2.0.ER4.

Note You need to log in before you can comment on or make changes to this bug.