Red Hat Bugzilla – Bug 1000406
[guided rule editor] Improve support for rule attributes/metadata
Last modified: 2014-08-06 16:18:25 EDT
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.
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):
See https://bugzilla.redhat.com/show_bug.cgi?id=999904 too.
Most of this is fixed, so I'll mark this as verified.
Duplicate metadata issue is now covered by bug 1019665.