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

FromModuleVersion Incorrect

    XMLWordPrintable

    Details

    • Template:
    • Sprint:
      Folijet Sprint 91
    • Story Points:
      0.5
    • Development Team:
      Folijet
    • Release:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases