Bug 1000406

Summary: [guided rule editor] Improve support for rule attributes/metadata
Product: [Retired] JBoss BRMS Platform 6 Reporter: Zuzana Krejčová <zkrejcov>
Component: Business CentralAssignee: manstis
Status: CLOSED CURRENTRELEASE QA Contact: Zuzana Krejčová <zkrejcov>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: atangrin, lpetrovi
Target Milestone: ER4   
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:18:25 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
options in guided rule editor none

Description Zuzana Krejčová 2013-08-23 11:55:25 UTC
Created attachment 789573 [details]
options in guided rule editor

Description of problem:
The same option (attribute or metadata) can be added multiple times.
There is no input validation in the editor.
For attributes requiring a date, there should be a calendar pop-up to help choose a date.
Dialect should be a select box with only the supported values available.

See screenshot.

If you don't enter a string with whitespaces into salience input, validation then fails quietly on the data from the screenshot. There is an error in the server log stating that:
org.jboss.errai.bus.client.api.base.MessageDeliveryFailure: error invoking endpoint
Caused by: org.guvnor.common.services.shared.exceptions.GenericPortableException: Invalid date input format: [or a bit later] it should follow: [dd-MMM-yyyy]

If you don't have access to server log, you will never know that there is something wrong.


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

Comment 1 manstis 2013-09-16 09:23:46 UTC
See https://bugzilla.redhat.com/show_bug.cgi?id=999904 too.

Comment 6 Zuzana Krejčová 2013-10-16 08:34:11 UTC
Most of this is fixed, so I'll mark this as verified.

Duplicate metadata issue is now covered by bug 1019665.