Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5800

Error in generated links in odata pages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 13.0
    • OData
    • None

    Description

      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.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            cjohn001 Christoph John (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: