Describe the bug
Whenever manually creating a return loan prep on Firefox there is an error that appears being caused by the code attempting to add an integer to a string. this is caused due to one of the field values being set to a string by Firefox inside a JSON request
To Reproduce
Steps to reproduce the behavior:
- Create a CO with preparations, Save CO Number
2 Create a loan for that specific CO, then import the loan preparations for that CO.
- Click on the Loan Return prep Subform, select quantity returned and quantity resolved to be any number less than or equal to the total quantity of loan preparations
- See the following error
Expected behavior
This error should not occur and the manual creation of loan preps should be called
Screenshots
found the issue lying within Firefox JSON Request casting the field "quantityreturned" into a string while every other brewer handled it as an integer
Crash Report
Specify 7 Crash Report - 2026-05-12T20_34_56.060Z.txt
Please fill out the following information manually:
- OS: MacOS 26
- Browser: Firefox
- Specify 7 Version: main
- Database Name: Calvertmarinemuseum, ojsmnh20250909
- Collection name: Invertebrates, Botany
- User Name: spadmin
Reported By
Marco Martinez
Describe the bug
Whenever manually creating a return loan prep on Firefox there is an error that appears being caused by the code attempting to add an integer to a string. this is caused due to one of the field values being set to a string by Firefox inside a JSON request
To Reproduce
Steps to reproduce the behavior:
2 Create a loan for that specific CO, then import the loan preparations for that CO.
Expected behavior
This error should not occur and the manual creation of loan preps should be called
Screenshots
found the issue lying within Firefox JSON Request casting the field "quantityreturned" into a string while every other brewer handled it as an integer
Crash Report
Specify 7 Crash Report - 2026-05-12T20_34_56.060Z.txt
Please fill out the following information manually:
Reported By
Marco Martinez