Bug: Saving New Project Issues. #1710
Labels
bug
Release Note: Shows as Error Correction
level: medium
p-feature: Save Button
pbv: dev
All engineering issues
priority: MUST HAVE
role: front-end
Front End Developer
size: 1pt
Can be done in 4-6 hours
Milestone
Describe the bug
On saving a new project, the Nav confirm Modal appears, asking if the user is they want to navigate away from the page without saving their data. This seems incorrect, as the the data IS saved. I'm also not sure if the user should be forced to leave the page after saving a project.
Furthermore, the user is sent into a non-existent, broken page in the calculator: http://localhost:3000/calculation/calculation/454
Steps to reproduce the issue
What's the expected result?
Project is saved.
What's the actual result?
Project is saved, but the nav confirm modal pops up, text off center, stating that the data is unsaved and asking if the user actually wishes to navigate away. Confirming sends the user to a broken page.
Additional details / screenshot
Update: Exclusive to newly created projects. Issue appears to be the ID of the newly saved project being placed into the URL and affecting things somehow.
Device configuration
The text was updated successfully, but these errors were encountered: