Uploaded image for project: 'mod-erm-usage-harvester'
  1. mod-erm-usage-harvester
  2. MODEUSHARV-36

Unable to parse item and database reports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Done
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.0.2
    • Labels:
      None
    • Template:
    • Sprint:
      Leipzig Sprint 112
    • Development Team:
      Leipzig
    • Release:
      R1 2021 Hot Fix #1

      Description

      When requesting database reports the following exception occurs

      com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "Item_ID" (class org.openapitools.client.model.COUNTERDatabaseUsage), not marked as ignorable (7 known properties: "performance", "platform", "database", "publisher", "publisher_id", "data_type", "access_method"])

      When requesting item reports with Include_Parent_Details=True the following exception occurs

      com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot deserialize instance of `java.util.ArrayList<org.openapitools.client.model.COUNTERItemParent>` out of START_OBJECT token
      at [Source: (StringReader); line: 1, column: 1241] (through reference chain: org.openapitools.client.model.COUNTERItemReport["Report_Items"]>java.util.ArrayList[0]>org.openapitools.client.model.COUNTERItemUsage["Item_Parent"])

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Tino Ryll Tino Ryll
                Reporter:
                Tino Ryll Tino Ryll
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases