Uploaded image for project: 'mod-source-record-storage'
  1. mod-source-record-storage
  2. MODSOURCE-158

FromModuleVersion Incorrect

    XMLWordPrintable

Details

    • Folijet Sprint 91
    • 0.5
    • Folijet
    • Q2 2020

    Description

      Overview
      Observed on bugfest-goldenrod, while upgrading to version 3.2.0. The function "get_record_by_external_id" was changed but the fromModuleVersion hasn't been updated in the below line
      "https://github.com/folio-org/mod-source-record-storage/blob/v3.2.0/mod-source-record-storage-server/src/main/resources/templates/db_scripts/schema.json#L140

      As a result the query "/source-storage/formattedRecords/

      {id}

      " returns the following error:

       ERROR ExceptionHelper      [71340315eqId] Unrecognized field "matchedProfileId" (class org.folio.rest.jaxrs.model.Record), not marked as ignorable (14 known properties: "parsedRecord", "recordType", "order", "metadata", "state", "additionalInfo", "generation", "rawRecord", "id", "snapshotId", "errorRecord", "matchedId", "deleted", "externalIdsHolder"])
      

      Expected
      The fromModuleVersion is updated accordingly

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                OleksiiKuzminov Oleksii Kuzminov
                KVupp Kruthi Vuppala
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases