Cannot allocate or transfer cents as system considers them negative numbers

Description

Overview: User cannot allocate or transfer cents as the system considers them negative numbers. Seems anything less than 1 is considered negative. The system should allow user to allocate .30 etc.

Steps to Reproduce:

  1. Log into some FOLIO environment as User X

  2. Select finance app

  3. Select a Fund

  4. Select the funds budget

  5. Click "Allocate" in the action menu for the budget

  6. Enter a decimal into the account field with 2 digits or less

  7. Click confirm

Expected Results: Allocation is created successfully for the number of pennies specified

 
Actual Results: Field validation tells user the Amount must be a positive number. Allocation cannot be completed

Additional Information:
URL:
Interested parties:

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

2

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges July 26, 2021 at 5:23 PM

test successful in bugfest-juniper

Tetiana Paranich July 1, 2021 at 12:19 PM

Work as expected on https://folio-testing.dev.folio.org

Google Chrome Version 91.0.4472.114 (Official Build) (64-bit)

See the attached 

Andrei Shumski July 1, 2021 at 10:25 AM

tested on folio-testing

Dennis Bridges June 30, 2021 at 2:23 PM

 we do not want to allow them to input 0 in this modal. This would allow users to create $0 transaction which wouldn't really be useful. 

Makes sense that the logic be changed to >0. However, the message can stay the same. thx!

Andrei Shumski June 30, 2021 at 1:40 PM

, ok

 if we allow 0 value in allocation amount, could the validation message be "Can not be negative or empty" instead of "Amount must be a positive number"?

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Fix versions

Release

Affected Institution

Cornell

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created June 29, 2021 at 4:05 PM
Updated July 29, 2021 at 1:53 PM
Resolved July 1, 2021 at 9:44 PM
TestRail: Cases
TestRail: Runs