operator_id is missing in loan_history_table

Description

It appears that the user_id stored in the loan_history_table represents the id of the user associated with the loan.

We also need the operator_id - the person / admin who performed the Checkout / Checkin

I'm not sure if the intention here was to use user_id for that (in this case we need to store the operator not the user associated with the loan) or a new field is needed.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Jakub Skoczen August 3, 2017 at 11:50 AM

has this been merged to mod-circ-storage?

Marc Johnson August 1, 2017 at 9:52 PM

I think is doing some investigation into how we can use the metadata schema without hitting some of the challenges expressed in [RMB-30], so it might be worth syncing up with his research before merging the change into the raml repository.

shale99 August 1, 2017 at 7:56 PM

  • rmb will be ready tomorrow

  • i will then upgrade mod-circ-storage to latest rmb for the meta data support (need meta data schema merged into raml repo asap - i can do this if needed)

  • will change loan schema to include ref to meta data (this will add the meta data to both loans and loan history) - need to upgrade mod-circ-storage version

  • update mod-circ-storage sql scripts - - changes to the database schema explained in RMB-48 - - please see note below for upgrade ramifications:

--> all the above should be ready by Thursday

note that the upgrade mechanism today relies on the module_from flag in the json passed in by okapi - this is problematic since this isnt sent when a module is disabled and then enabled on a later version - this is a separate issue but will not be included here

Jakub Skoczen July 31, 2017 at 1:20 PM

when can we expect this?

Jakub Skoczen July 27, 2017 at 1:22 PM

guys, as discussed on FOLIO-592 we want this handled through the meta-data section

Done

Details

Assignee

Reporter

Labels

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 25, 2017 at 2:16 PM
Updated August 16, 2017 at 4:28 PM
Resolved August 7, 2017 at 1:48 PM
TestRail: Cases
TestRail: Runs