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

[Add calculator] 'Calculator' page is reverted when changing locales after creating invalid calculator name #866

Open
NatLabyk opened this issue Apr 10, 2024 · 3 comments · Fixed by #954 · May be fixed by #928
Open

[Add calculator] 'Calculator' page is reverted when changing locales after creating invalid calculator name #866

NatLabyk opened this issue Apr 10, 2024 · 3 comments · Fixed by #954 · May be fixed by #928

Comments

@NatLabyk
Copy link

Environment: Windows 11 Home Version 22H2 Build 22621.2506
Chrome Версія 118.0.5993.118 (Official build) (64-bit)
Reproducible: always.
Build found:

Preconditions

  1. Site https://zero-waste-staging.onrender.com/en is opened.
  2. Admin is logged in
  3. 'Calculators' page is opend on Admin dashboard

Steps to reproduce

  1. Click on '+Add calculator' button
  2. Fill in 'Name' field with invalid name (e.g. "nhllllkpijuniuygcrewsryesutrfi702555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555555"
  3. Click on 'Create calculator' button
  4. Change locales with "Ehglish/Українська" button

Actual result

bandicam.2024-04-10.11-29-14-860.mp4

'Calculator' page is opened

Expected result
'Add calculator' page is reload and displayed.
'Name' field is blank.
Error message is absent.

Postconditions
"Check created item is not saved in database using SQL query:
SELECT *FROM calculators
WHERE name =;"

User story and test case links
User story #627
[Test case]

Labels to be added
"Bug", Priority ("pri:medium "), Severity ("severity: high"), Type ("Functional").

@obniavko
Copy link
Contributor

Related to #783

@obniavko obniavko removed the status in Zerowaste May 11, 2024
@NVMakarenko NVMakarenko self-assigned this Oct 28, 2024
@NVMakarenko NVMakarenko linked a pull request Oct 30, 2024 that will close this issue
6 tasks
@NVMakarenko NVMakarenko moved this from In Progress to Ready for review in Zerowaste Oct 30, 2024
@NVMakarenko NVMakarenko linked a pull request Oct 30, 2024 that will close this issue
6 tasks
@loqimean
Copy link
Collaborator

loqimean commented Nov 5, 2024

requested changes

#928 (review)

@loqimean loqimean moved this from Ready for review to Rejected in Zerowaste Nov 5, 2024
@loqimean
Copy link
Collaborator

loqimean commented Nov 8, 2024

requested changes

#928

@loqimean loqimean moved this from Ready for review to Rejected in Zerowaste Nov 8, 2024
@NVMakarenko NVMakarenko linked a pull request Nov 19, 2024 that will close this issue
12 tasks
loqimean added a commit that referenced this issue Nov 20, 2024
@loqimean loqimean moved this from Ready for review to Ready for QA in Zerowaste Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment