Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 851093

Summary: No listbox for enum fields declared in parent class (sub-class or delegated class)
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: manstis
Component: BRM (Guvnor)Assignee: manstis
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.1   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Enumerations that were defined for fields, either as Java enumerations or Guvnor enumerations, in super-classes or wrapped classes were not being detected, and their values were being displayed in a text box, when it should have appeared in a listbox of enumerated values. This has been resolved by improving support for enumeration fields in super-classes and wrapped classes, and the values are now correctly displayed in a list box.
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-10 03:20:34 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
Screen shot showing operation
none
Example repository none

Description manstis 2012-08-23 08:49:30 UTC
Description of problem:

See linked JIRA.

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

How reproducible:

See linked JIRA.

Steps to Reproduce:

See linked JIRA.
  
Actual results:

Enums on sub-classes and delegated fields are shown as TextBoxes.

Expected results:

Enums on sub-classes and delegated fields are shown as ListBoxes.

Additional info:

Comment 2 Jiri Locker 2012-09-13 14:15:09 UTC
Return to ASSIGNED. Delegated field value is still not shown as list box, only plain text box.

Comment 3 manstis 2012-09-13 15:08:17 UTC
Created attachment 612480 [details]
Screen shot showing operation

Comment 4 manstis 2012-09-13 15:08:53 UTC
Created attachment 612481 [details]
Example repository

Comment 5 manstis 2012-09-13 15:12:50 UTC
Re-tested and works as expected for me.

I attach a screen-shot and sample repository.

I simply created a new rule "r1-mother" added MotherClass, SubClass and DelegationClass. Then proceeded to select status (which is an enum) on all class-types (base, sub- and delegating).

If there is another process I need follow to highlight the bug please advise.

Commits were made 24-Aug-2012:-

https://github.com/droolsjbpm/guvnor/commit/30f800b5fa005e78c06ae32202921a65f4d00d4b

https://github.com/droolsjbpm/guvnor/commit/a4e28414eb175066ae780e4da4a4134a4819f252

https://github.com/droolsjbpm/guvnor/commit/796768ef9f3bf1d1f90e0f91d74522b2e40374eb

https://github.com/droolsjbpm/guvnor/commit/4058cf95ef56cfc911ff2aeae0037a988f578fc6

Comment 6 Jiri Locker 2012-09-24 14:35:54 UTC
Works for me too now. Maybe browser cache? Sorry for complication.

Fixed in 5.3.1.ER1.

Comment 7 lcarlon 2012-10-18 03:01:00 UTC
Release notes text reformatted for the release notes. Thanks for providing the text, Mike.

Lee

Comment 12 Red Hat Bugzilla 2025-02-10 03:20:34 UTC
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.