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

Bug 1209308

Summary: In a Table Editor for View model, Primary Key Tab's "column" modal panel does not list all of entries which user can choose
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Hisao Furuichi <hfuruich>
Component: ToolingAssignee: Barry LaFond <blafond>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: atangrin, 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-04-13 13:07:54 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 Hisao Furuichi 2015-04-07 02:41:53 UTC
Describe the issue:
In a Table Editor for View model, Primary Key Tab's "column" modal panel does not list all of entries which user can choose.

Environment:
JBDS 8.1.0.GA
Teiid Designer 9.0.1.Final-v20150211-1407-B643

How to reproduce:
1: Prepare 2 tables as source model:
・history
 ・orderNo:String(PK)
 ・productId:String(FK)
 
・products
 ・productId:String(PK)
 ・name:String

2: Create an empty view model, then create a table named "historyWithName" which will join "history" and "products"
3: Set a primary key for the table (use historyWithName.orderNo)
4: Create a table named "history_VT" in the view model which will transform "history".
5: Create a primary key for the table (use history_VT.orderNo)

Expected result:
User can choose history_VT.orderNo in a modeal panel

Actual result:
There is no columns in hostory_VT talbe

Additional information:
If user clicks PK in a ViewModel, user can set a column for PK correctly using properties tab.

Comment 2 Barry LaFond 2015-04-13 13:07:54 UTC
Note that editing PK/FK columns in Designer's Table Editor has been disabled due to a messy bug in how we designed our table cell editor factory. This was covered via TEIIDDES-2440 (screen caps) & TEIIDDES-2379.