Done
Details
Assignee
Azizbek KhushvakovAzizbek KhushvakovReporter
Khamidulla AbdulkhakimovKhamidulla AbdulkhakimovLabels
Priority
TBDStory Points
0Sprint
NoneDevelopment Team
ThunderjetFix versions
Release
Quesnelia (R1 2024)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Azizbek Khushvakov
Azizbek KhushvakovReporter
Khamidulla Abdulkhakimov
Khamidulla AbdulkhakimovLabels
Priority
Story Points
0
Sprint
None
Development Team
Thunderjet
Fix versions
Release
Quesnelia (R1 2024)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created February 6, 2024 at 12:23 PM
Updated February 28, 2024 at 6:51 AM
Resolved February 28, 2024 at 6:51 AM
Steps to reproduce:
Login to FOLIO X environment
Open settings → Invoices → batch group configuration
Choose any batch group and fill in the fields(url, port, username, password, location type, format) with correct credenentials and save
Remove url, port, username, password, location type and leave as it was location type and format, save it
Create invoice and select batch group from step #3
Add invoice line and pay invoice
Open Invoices app → Actions → Voucher export → Choose batch group from step #3 → Run manual export
Actual result: export status - Error, message - Cannot invoke "String.length()" because "this.input" is null
Expected Result: some message to show root cause as description
Cause:
Currently, if we skip the validation for spaces in the 'uploadDirectory' field, there's a high likelihood of encountering an NPE (NullPointerException):
In implementation, if uri is empty, code throws error
Approach:
We need to decide on the approach for validation. Currently, I have two options in mind:
Show correct description for cause.
Add validation for empy string for both directory and url