]
Steven Hawkins resolved TEIID-5800.
-----------------------------------
Resolution: Rejected
Error in generated links in odata pages
---------------------------------------
Key: TEIID-5800
URL:
https://issues.jboss.org/browse/TEIID-5800
Project: Teiid
Issue Type: Bug
Components: OData
Affects Versions: 13.0
Reporter: Christoph John
Assignee: Steven Hawkins
Priority: Major
The generated urls in the generated odata webpages seem to have a bug. The primary key
appears twice here
expected result:
http://localhost:18080/odata4/svc/my_nutri_diary/Account(idProfile=1)
actual result:
<a:entry>
<a:id>
http://localhost:18080/odata4/svc/my_nutri_diary/Account(idProfile=1,idPr...
</a:id>
Table definition is given as:
CREATE FOREIGN TABLE Account (
idProfile long NOT NULL AUTO_INCREMENT OPTIONS(NAMEINSOURCE
'"idProfile"', NATIVE_TYPE 'BIGINT'),
uuidUser string(36) NOT NULL OPTIONS(NAMEINSOURCE '"uuidUser"',
NATIVE_TYPE 'CHAR'),
CONSTRAINT "PRIMARY" PRIMARY KEY(idProfile),
CONSTRAINT uuidUser_UNIQUE UNIQUE(uuidUser)
) OPTIONS(NAMEINSOURCE '"Account"', UPDATABLE 'TRUE',
CARDINALITY '2');
I have used the github sources from yesterday.