A locker reservation saved with no end date and the "indefinite" box unticked is stored as indefinite
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- backend
Research direction
Start with src/services/lockers/reservations/schemas.ts and operations.ts, then trace how the form's empty end date and unchecked indefinite box are validated and saved. The issue leaves the intended behavior unresolved: determine whether an end date should be required, and check with the maintainer before changing the rule. Done means the agreed behavior is enforced and covered by a test.
Written by the indexing model from the issue text.
Description
In the locker reservation form, leaving the end date empty without ticking the box for an indefinite reservation is accepted, and the reservation is stored with no end date, which means it lasts until it is changed.
This is how it has always behaved, and the schema's comment says a reservation with no end date lasts until it is changed. The question is whether that is meant when the box is not ticked, or whether an end date should then be required.
Found by the review bot on #1073, which moved the form without changing the rule.
Where: src/services/lockers/reservations/schemas.ts and operations.ts.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vevcom/project-next
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
vevcom/project-next#1223 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vevcom/project-next#1220 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vevcom/project-next#1217 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
vevcom/project-next#1214 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
vevcom/project-next#1213 ·
All issues in vevcom/project-next
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
Codex使用可 かんたん コード
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ryuki-moro/Nicomaru#348 ·
Maintainers usually reply within 1 day
-
clawsweeper:fix-shape-clear clawsweeper:needs-maintainer-review clawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:crash-loop issue-rating: 🦞 diamond lobster P2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openclaw/openclaw#211919 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Bug
Difficulty 1/5 Under an hour Newbie friendliness 84/100
Maintainers usually reply within 1 day