Skip to content
This repository was archived by the owner on Oct 20, 2022. It is now read-only.

fix(instrument availability time): Entering number grater than biggest 32-bit integer crashes the app#978

Open
martin-trajanovski wants to merge 4 commits intodevelopfrom
SWAP-2519-entering-large-numbers-in-availability-time-crashes
Open

fix(instrument availability time): Entering number grater than biggest 32-bit integer crashes the app#978
martin-trajanovski wants to merge 4 commits intodevelopfrom
SWAP-2519-entering-large-numbers-in-availability-time-crashes

Conversation

@martin-trajanovski
Copy link
Contributor

@martin-trajanovski martin-trajanovski commented Aug 5, 2022

Description

Prevent sending very big numbers for availability time that are not supported by the database.

Motivation and Context

If you enter number bigger than 32-bit integer the app crashes and there is a backend error.

How Has This Been Tested

  • manual tests
  • e2e tests

Fixes

https://jira.esss.lu.se/browse/SWAP-2519

Tests included/Docs Updated?

  • I have added tests to cover my changes.
  • All relevant doc has been updated

@auto-add-label auto-add-label bot added the bug Something isn't working label Aug 5, 2022
@martin-trajanovski martin-trajanovski marked this pull request as ready for review August 19, 2022 11:19
@martin-trajanovski martin-trajanovski self-assigned this Aug 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants