FIRST-Tech-Challenge / FIRST-Tech-Challenge/scorekeeper
Give Feed Back if Write Operation Fails
- Dominant language
- No language data
- Stars
- 110
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
So I am trying to create a new event in the scoring system. See below:

CON is a reserved file name that cannot be used in windows.
https://answers.microsoft.com/en-us/windows/forum/windows_xp-desktop/file-name-as-cannot-be-created-on-desktop-can-you/c41e136a-56ac-4385-b119-3773cdee7a9c?db=5
Currently the system will just keep going acting like it is creating the event but never time out.
When going back to the main menu I see the event as created.

But when I go to access it I get the Error 500 when I try to access the event.
If you could add a way to detect the error from the machine and present it to the user and not allow the system to create a record for the event, in case someone tries to use a reserved file name as a code, access is denied or any other errors the user could get when trying to create there event.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing event creation with the reserved Windows name CON and trace what happens when the write fails. Check how the system reports the failure and when the event record is created. Done means the user sees the write error and no event record remains when creation fails.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100