[teiid-issues] [JBoss JIRA] (TEIID-5800) Error in generated links in odata pages

Steven Hawkins (Jira) issues at jboss.org
Wed Jul 31 18:00:00 EDT 2019


     [ https://issues.jboss.org/browse/TEIID-5800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins reopened TEIID-5800:
-----------------------------------


> 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,idProfile=1)
> </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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list