-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
13.0
-
None
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.