Overdue loans report not cumulating

Description

When I create the Overdue loans CSV by going to the User app and clicking the tiny caret dropdown next to the word USERS in the middle of the screen, and execute the report on Aug 2, 2019, I get the report attached but nothing checked out after June 19, 2019 is on the list. I know there are more overdue items in the system - I just got a notice for one that is not on the list.

Steps

  1. As diku-admin on folio-snapshot

  2. Check out item(s) to user

  3. Change due date so that due date is in the past

  4. Export overdue loans report

Expected: Overdue loans export contains all loans with due dates before the date and time the user triggered the export.

Actual: Overdue loans report contains some overdue loans, including ones with a loan date of today that are about ~9 hours overdue, but not the ones created immediately before the export.

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Sergiy Sergiyenko October 15, 2019 at 8:23 AM

, could you please follow the steps from your last comment and test the newly created functionality? Expected this has to work.

Emma Boettcher October 8, 2019 at 4:39 PM

Following up on the conversation from planning: I tested this more rigorously to see what triggers it, and the comment from the meeting about needing to reload Users seems correct. If I leave Users open in its own tab or browser while I create the overdue loan in a second tab (or browser), then export the overdue loans report without reloading the Users page, it won't include the overdue loan I created in tab 2. But any scenario that involves loading the Users app after the overdue loan is created will include the new overdue loan in the report.

Emma Boettcher September 27, 2019 at 4:33 PM

I was able to repro this on folio-snapshot just now, so I'll take it out of draft.

Cate Boerema August 6, 2019 at 8:04 AM

Hmm, so basically Emma is unable to reproduce this bug in snapshot. It could be an environment-specific issue, but I think we should define the repro steps more clearly before we consider giving this to the developers. can you please list the specific steps to reproduce in order and add a screencast if possible?

This is the bug writeup format we should be using: https://folio-org.atlassian.net/wiki/display/COMMUNITY/Standard+Bug+Write-Up+Format

Emma Boettcher August 5, 2019 at 9:21 PM

I ran the export on folio-snapshot as diku_admin just now and it exported a loan with loan date of August 5, 2019 (I used change due date to set the due date in the past, so it was overdue). Not sure what to make of that. I don't know if this is just an issue on bug-fest or if there are other factors involved - or if maybe the export I'm doing is missing loans, but it's not because it's truncating after a particular loan date and instead it's for some other reason.

Done

Details

Assignee

Reporter

Priority

Story Points

Sprint

Development Team

Concorde

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created August 2, 2019 at 7:55 PM
Updated January 2, 2020 at 6:13 PM
Resolved October 15, 2019 at 1:53 PM
TestRail: Cases
TestRail: Runs