Bug 1268843

Summary: Preview data from the view table which use UDF procedure doesn't work
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Matej Kralik <mkralik>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED NOTABUG QA Contact: Matus Makovy <mmakovy>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: vhalbert
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: 2015-12-07 13:22:27 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:

Description Matej Kralik 2015-10-05 12:23:08 UTC
When I tried data preview from the view table which use UDF procedure, it has failed and show 
"org.teiid.runtime.client.TeiidClientException: org.teiid.api.exception.query.QueryResolverException: Group does not exist: UdfViewModel.UdfView"
but UdfView exist.
However,when I exported the project and import it back, preview data works correctly.


Steps to Reproduce:

1. create relational view model
2. create procedure (user defined function)
3. create table (UdfView for example) which use procedure
4. click to preview data on view table (UdfView)
5. preview data should fail ( ... Group does not exist: UdfViewModel.UdfView)
6. export project ( right click project -> export -> Archive file)
7. delete project from teiid designer
8. import project back
9. click to preview data on view table (UdfView)
10. preview data should pass

Comment 1 Barry LaFond 2015-12-07 13:22:27 UTC
Using only JIRA now.  Marking as closed

Comment 2 JBoss JIRA Server 2016-09-26 18:33:49 UTC
Barry LaFond <blafond> updated the status of jira TEIIDDES-2677 to Resolved

Comment 3 JBoss JIRA Server 2016-10-18 09:17:29 UTC
Matej Kralik <mkralik> updated the status of jira TEIIDDES-2677 to Closed