Bug 995027

Summary: "Field type" not displayed when editting properties of fields of some types
Product: [Retired] JBoss BPMS Platform 6 Reporter: Jan Hrcek <jhrcek>
Component: Form ModelerAssignee: Pere Fernàndez <pere.fernandez>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: low Docs Contact:
Priority: medium    
Version: 6.0.0CC: rzhang
Target Milestone: ER3   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:07:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Hrcek 2013-08-08 12:29:58 UTC
Description of problem:
When editting field properties (by clicking on Edit - pencil icon for a field) the field type does not display anything for the following 4 field types:

-HTML label
-separator
-Simple subform
-Multiple subform

Version-Release number of selected component (if applicable):
6.0.0.CR1

How reproducible:
Always in my environment (the same issue in Firefox 22 & Google chrome 28)

Steps to Reproduce:
1. Open business central - go to some project and create a new form
2. Go to 'Add fields by type' and add 1 field of each type to the canvas
3. For the 4 fields mentioned above click the 'Edit' button to go to field properties side widnow


Actual results:
The field type is not displayed for the 4 field types mentioned (see screenshot)

Expected results:
Either the 'Field type' label should be removed for these 4 field types, or the type should be displayed. The 2nd option would  be preferable for consistency.

Comment 1 Pere Fernàndez 2013-08-12 15:27:45 UTC
The field type combo wasn't rendering for decorator types (HTMLLabel & Separator)  since they aren't persistible types.

On subform (simple & multiple) it wasn't working because an error loading this field types on FieldTypeManagerImpl.

Commit:
https://github.com/droolsjbpm/jbpm-form-modeler/commit/126df6307fd29c4cb4b9510cd756cba17b635787

Comment 2 Jan Hrcek 2013-09-02 07:40:55 UTC
The problem is still present in ER2. I checked the 6.0.x branch on github and it seems that the above mentioned fix was only commited to master branch. Please add it to 6.0.x product branch as well.

Comment 3 Pere Fernàndez 2013-09-02 13:16:33 UTC
Done, sorry.

Comment 4 Jan Hrcek 2013-09-23 06:54:29 UTC
Verified with BPMS 6.0.0 ER3