Bug 1035372 - Incorrect Wizard Error Message When Creating A User Defined Function
Summary: Incorrect Wizard Error Message When Creating A User Defined Function
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Tooling
Version: 6.0.0
Hardware: Unspecified
OS: Mac OS
unspecified
unspecified
Target Milestone: ER6
: 6.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-27 16:02 UTC by Dan Florian
Modified: 2014-07-09 05:00 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-02-06 15:37:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker TEIIDDES-1962 0 Major Closed Incorrect Wizard Error Message When Creating A User Defined Function 2014-05-07 21:04:21 UTC

Description Dan Florian 2013-11-27 16:02:57 UTC
Description of problem:

After filling in the function name, the error message states "User defined function category is undefined." Filling in the "Function Category" does not change the error message. Once the "Java Class" is filled in the error message goes away.

Turns out the "Function Category" isn't required at all.

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

DV 6.0.0 ER4
JBDS 7.1.0 CR1
JBIS 4.1.3 Beta5
Teiid Designer 8.3.0 CR1
How reproducible:

Steps to Reproduce :

Using Designer:

1. Create a new relational model
2. New Child > Procedure > User Defined Function > OK
3. Enter a function "Name."
4. Wizard error message now shows "User defined function category is undefined"
5. Only way to get rid of this error message is to enter a "Java Class" 

Actual results:

Incorrect, misleading error message.

Expected results:

A correct error message indicating the "Java Class" is missing.

Additional info:

None.

Comment 2 Dan Florian 2013-11-27 16:40:21 UTC
The wizard's "OK" button enables even if there is not a function category or java method specified. When the wizard finishes and the model is saved, two validation errors are created for each of those missing fields. The wizard could at least warn the user that both of those fields are required.

Comment 3 JBoss JIRA Server 2013-12-02 15:42:39 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1962 to Resolved

Comment 4 JBoss JIRA Server 2013-12-02 15:42:39 UTC
Barry LaFond <blafond> made a comment on jira TEIIDDES-1962

Done

Comment 5 Lucie Fabrikova 2014-02-03 14:46:44 UTC
Verified in JBDSIS-7.0.0.GA-GA + DV 6.0.0.GA.

Comment 6 JBoss JIRA Server 2014-05-07 21:04:22 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-1962 to Closed


Note You need to log in before you can comment on or make changes to this bug.