Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing Disposal prep counts causes OperationalError #4842

Open
pashiav opened this issue Apr 25, 2024 · 0 comments
Open

Editing Disposal prep counts causes OperationalError #4842

pashiav opened this issue Apr 25, 2024 · 0 comments
Labels
1 - Bug Incorrect behavior of the product 2 - Interactions Issues that are related to interactions, including loans, exchanges, gifts, and more

Comments

@pashiav
Copy link
Contributor

pashiav commented Apr 25, 2024

Describe the bug
When editing the count of a disposal's preparations, an OperationalError occurs.
Note: occurs in both v7.9.3.1 and edge
Related to #4841?

To Reproduce

  1. Go to a disposal with preparations (https://umherb11024-edge.test.specifysystems.org/specify/view/disposal/5/)
  2. Edit the Count/Quantity fields for the preps (ex: Click the Up or Down arrows or type in a number)
  3. See error

Expected behavior
Clicking on the arrows or typing in a number in the Count/Quantity fields should not cause an error. The value for the field should not go higher than available preparations and not be a negative number.

Evidence

Screen.Recording.2024-04-25.at.4.51.42.PM.mov

Crash Report
Specify 7 Crash Report - 2024-04-25T21_52_17.261Z.txt


OS: macOS Monterey (12.6.5)
Browser: Chrome
Specify 7 Version: v7.9.3.1 and edge
Database Name: umherb_1_10_24 and lsumzmammals9823
Specify 7 System Information - 2024-04-25T21_42_20.224Z.txt

@pashiav pashiav added 1 - Bug Incorrect behavior of the product 2 - Interactions Issues that are related to interactions, including loans, exchanges, gifts, and more labels Apr 25, 2024
@pashiav pashiav changed the title Editing Disposal preps causes OperationalError Editing Disposal prep counts causes OperationalError Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Bug Incorrect behavior of the product 2 - Interactions Issues that are related to interactions, including loans, exchanges, gifts, and more
Projects
None yet
Development

No branches or pull requests

1 participant