Bug 1232426 - Unable to modify the HTML component in a form by clicking on "Apply" button in BPM Suite 6.1.0
Summary: Unable to modify the HTML component in a form by clicking on "Apply" button i...
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Form Modeler
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER4
: 6.2.0
Assignee: Pere Fernàndez
QA Contact: Marián Macik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-16 17:57 UTC by Amana
Modified: 2020-03-27 20:09 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-03-27 20:09:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Amana 2015-06-16 17:57:11 UTC
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 17:57:50 UTC
Is it a real bug or an expected behavior?

Comment 3 Pere Fernàndez 2015-09-23 14:42:06 UTC
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 14:09:07 UTC
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.