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

    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Done
    • 3.0.1
    • 3.0.2
    • None
    • Leipzig Sprint 112
    • Leipzig
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases