Bug 1198207

Summary: GDT: dsl sentences with enumerations make BRL fragments uneditable
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED EOL QA Contact: Jakub Schwan <jschwan>
Severity: medium Docs Contact:
Priority: high    
Version: 6.1.0CC: kverlaen, lpetrovi
Target Milestone: DR1   
Target Release: 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:40:53 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:
Attachments:
Description Flags
data object
none
enumeration
none
dsl none

Description Zuzana Krejčová 2015-03-03 14:55:56 UTC
Created attachment 997560 [details]
data object

Description of problem:
If you add a (Condition) BRL Fragment column to a GDT and in this BRL Fragment use a DSL sentence which uses an enumeration, the column will not be editable. (If you use a DSL sentence that merely uses a boolean field, it will look like an anum in the BRL Fragment, but it will be editable.)


Version-Release number of selected component (if applicable):
6.1 ER5


Steps to Reproduce:
1. Create a new project and add the provided data object, enumeration and dsl.
2. Create a GDT, add a new column - choose Condition BRL Fragment from advanced options.
3. Type a header and add the provided DSL sentence, select a value. Submit this.
4. Open the section containing condition columns and attempt to edit the BRL Fragment column.


Actual results:
Nothing happens.


Expected results:
Pop-up appears for the Condition BRL Fragment, with the DSL sentence, ready to be changed.

Comment 1 Zuzana Krejčová 2015-03-03 14:56:13 UTC
Created attachment 997561 [details]
enumeration

Comment 2 Zuzana Krejčová 2015-03-03 14:56:28 UTC
Created attachment 997562 [details]
dsl

Comment 4 manstis 2015-03-06 16:00:19 UTC
When you use a "BRL Fragment" if the definition does not contain any "Templates Keys" (i.e. values to be provided by the user) the table shows a check-box to indicate whether the "static" definition should apply for the row.

It is not possible to use "Template keys" in a DSL Sentence; therefore you see the check-box in the table, as you report. There was a bug however with editing the column. This has been fixed.

Comment 5 Jakub Schwan 2015-10-01 10:36:29 UTC
Verified in 6.2 ER3