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

Unexpected validation failure #52

Open
TxJson opened this issue Oct 25, 2022 · 2 comments
Open

Unexpected validation failure #52

TxJson opened this issue Oct 25, 2022 · 2 comments

Comments

@TxJson
Copy link

TxJson commented Oct 25, 2022

Issue

Validation fails and allows you to input values beyond the valid limits (100)

Description

Tried inputting values and it allowed me to input any values above 100. Refreshed the page - same issue. Cleared the cache and did a hard refresh, now validation works. Not sure if this is due to an older version being cached but raising an issue in the event it may appear again.

Recreating the issue (Update)

Sometimes the DCALC page opens without any styling. This page allows you to enter values beyond 100 - if you then go onto another tab, and open the page there, even if it shows normally (with styling), validation no longer works as expected.

Expected Behaviour

Cannot input values below 0 or above 100

Examples

https://soc.port.ac.uk/dcalc/?share&l5mark1=101&l5name1=jj&l5mark2=150&l5name2=aaa&l5mark3=185&l5name3=fvefs&l5mark4=852&l5name4=gesg&l5mark5=124&l5name5=32fesf&l5mark6=852&l5name6=32fewf&l6mark1=1256&l6name1=3twegfvd&l6mark2=3212&l6name2=3tfesw3&l6mark3=159&l6name3=23rf3w&l6mark4=752&l6name4=32fwf3w&fyp=755

image

@TxJson TxJson changed the title Validation failure Unexpected validation failure Oct 25, 2022
@TxJson
Copy link
Author

TxJson commented Oct 25, 2022

Managed to recreate the issue and updated the notes.

@ear1grey
Copy link
Contributor

ear1grey commented Oct 25, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants