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

Bug 1304743 (TEIID-3950-DV6.2.3)

Summary: UDFs aren't found when using old function definitions model
Product: [JBoss] JBoss Data Virtualization 6 Reporter: dsteigne
Component: CompatibilityAssignee: jolee
Status: CLOSED CURRENTRELEASE QA Contact: Andrej Smigala <asmigala>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.0CC: asmigala, aszczucz, jolee, mbaluch, thauser
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 11:49:24 UTC Type: Support Patch
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1289142    
Attachments:
Description Flags
Sample Model Project Set using old UDF functiondef model none

Description dsteigne 2016-02-04 14:04:17 UTC
Created attachment 1121109 [details]
Sample Model Project Set using old UDF functiondef model

Description of problem:
See https://issues.jboss.org/browse/TEIID-3950

When migrating an old VDB that contains the old functiondefinitions model the server sees it as a Function model[1] but the functions are not found [2]when you try to use them.

[1] [org.teiid.RUNTIME] (MSC service thread 1-7) Model udfTokenFunctions in VDB oldUDF skipped being loaded because of its type FUNCTION

[2] [org.teiid.PROCESSOR] (Worker0_QueryProcessorQueue10) org.teiid.api.exception.query.QueryResolverException: TEIID30068 The function 'getToken('125421', '?', 2)' is an unknown form. Check that the function name and number of arguments is correct. Sending error to client 1trCiU5AkzFn.5


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

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 dsteigne 2016-02-04 14:17:07 UTC
Tested each version and this works in 6.0 but doesn't in 6.1 and 6.2. According to Engineering the server should still recognize the old UDF models.

Comment 3 JBoss JIRA Server 2016-02-04 16:05:28 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-3950 to Resolved

Comment 4 jolee 2016-02-11 17:50:18 UTC
git:jboss-integration/teiid.git : 8.7.x-prod-ipv6.2 : 0cdbd6d

git:teiid/teiid.git : 62-8.7.x : 0cdbd6d