"Encumbered" value is changed in repeatedly downloaded ".csv" file after the next test rollovers, "Encumbered (Exp Class)" value is doubled

Description

Overview:

"Encumbered" value is changed in repeatedly downloaded ".csv" file after the next test rollovers were performed

Preconditions:

Note: for the test case purposes it's critical important to CREATE new entities (fiscal years, ledger, fund, order) as it described below

1.Valid "Fiscal year #1" and the next "Fiscal year #2" are created and have not overlapping duration.
2.Valid Ledger related to "Fiscal year #1" is created

3."Fund A" - active fund relates to the ledger from Preconditions item #2 exists

4."Fund A" has Current budget with money allocation = $1000 in "Active" status for "Fiscal year #1"

5.Current budget for "Fund A" has "Expense class #1" and "Expense class #2"

6."Ongoing" Order #1 in "Open" status with enabled "Re-encumber" option and one POL with following settings is created:
6.1.Fund ID = "Fund A", "Expense class #1"
6.2."Value" is specified as $100

7."Ongoing" Order #2 in "Open" status with enabled "Re-encumber" option and one POL with following settings is created:
7.1.Fund ID = "Fund A", "Expense class #2"
7.2."Value" is specified as $200

8.There is no Approved or Paid Invoices related to created POLs

9.A user with following permissions is logged in:
-Finance: Execute fiscal year rollover
-Finance: View fund and budget
-Finance: View ledger

10.A user is on in "Finance" app -> "Ledgers" pane with search result for Ledger from item #2

Steps to Reproduce:

  1.  

    1. Click on Ledger from preconditions #2

    2. Click "Actions" button -> select "Rollover" option on "Ledger name" pane

    3. Fill the following fields:

    •  

      • "Fiscal year" = the next "Fiscal year #2",

      • "Enforce all budget encumbrance limits" checkbox is Active,

      • "Enforce all budget expenditure limits" checkbox is Active,

      • "Close all current budgets" checkbox is Active,

      • "Rollover allocation" checkbox in "Rollover budgets" accordion is Active,

      • "Adjust allocation, %" field in "Rollover budgets" accordion is blank,

      • "Rollover available" checkbox in "Rollover budgets" accordion is NOT Active,

      • "Add available as" dropdown field is specified as Transfer,

      • "Set allowances" checkbox in "Rollover budgets" accordion is NOT Active,

      • "Allowed encumbrance, %" field in "Rollover budgets" accordion is blank,

      • "Allowed expenditure, %" field in "Rollover budgets" accordion is blank,

      • "Ongoing encumbrances" option in "Rollover encumbrances" accordion is Active,

      • "Based on" dropdown in "Rollover encumbrances" accordion is specified with "Initial encumbrance" option,

      • "Increase by, %" field in "Rollover encumbrances" accordion is blank,

      • "Ongoing-subscription encumbrances" option in "Rollover encumbrances" accordion is NOT Active,

      • "One-time encumbrances" option in "Rollover encumbrances" accordion is NOT Active
        4. Click "Test rollover" button

5. Click "Confirm" button

6.Click "Actions" button -> Select "Rollover logs" option

7.Click on the link in "Results" column

8.Open downloaded "<mm_dd_yyyy>-result.csv" file with Excel (or similar tool), check if the test rollover results are correct

9. Repeat steps 2-5 (all settings are the same, just select "Expended" option in "Based on" dropdown in "Rollover encumbrances" accordion) 
10.Click "Actions" button -> Select "Rollover logs" option

11.Click on the link related to the first test rollover run in Step #5 in "Results" column 

12.Open downloaded "<mm_dd_yyyy>-result.csv" file with Excel (or similar tool)

13.Compare downloaded files from Step #8 and Step #12

Expected Results:

  • Downloaded "<mm_dd_yyyy>-result.csv" files should contain the same values

  • "Encumbered (Exp Class)" value for the first Expense class = 200

  • "Encumbered (Exp Class)" value for the first Expense class = 100

Actual Results:

  • "Encumbered (Budget)" column has different values in those files (file downloaded in Step #12 contains Encumbered amount = 0 from previous rollover executed in Step #9)

  • "Encumbered (Exp Class)" value for the first Expense class = 400 (doubled)

  • "Encumbered (Exp Class)" value for the first Expense class = 200 (doubled) 

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

5

has to be done before

relates to

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges November 25, 2022 at 6:45 PM

Test successful in bugfest-nolana

NinaChistova November 21, 2022 at 12:28 PM

Oleksii Petrenko November 8, 2022 at 2:24 PM

Deployed to Nolana bf. Please proceed with verification

Dennis Bridges November 1, 2022 at 4:43 PM

Test successful in folio-snapshot.

NinaChistova October 28, 2022 at 3:23 PM

Tested on https://folio-snapshot-2.dev.folio.org/

Works as expected

could you please review? Thanks in advance!

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

Release

Nolana (R3 2022) Bug Fix

RCA Group

Implementation coding issue

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created October 6, 2022 at 11:58 AM
Updated November 25, 2022 at 6:45 PM
Resolved November 1, 2022 at 4:43 PM
TestRail: Cases
TestRail: Runs