Material: es kann kein Text bei «Menge» angegeben werden
- Dominant language
- PHP
- Stars
- 156
- Forks
- 72
- Avg merge
- 12h 43m
- Merged PRs (30d)
- 203
Description
Wenn man beim Material bei `Menge` den Wert `2-4` angibt und anschliessend hinzufügt, wird als Wert nur `2` gespeichert.
|vorher|nachher|
|---|---|
|||
Nach vielem austesten scheint es, als würde nur der erste Zahlenwert angenommen werden. Dabei macht die Fehlermeldung `The type of the "quantity" attribute must be "float", "string" given.` keinen Sinn, da gar kein `"string"` Wert (Text) angegeben werden kann.
---
Build: eCamp [e11a0c3 ](https://github.com/ecamp/ecamp3/commit/e11a0c3)Di 23.01.2024 15:38
Browser: Brave v1.63.162
Contributor guide
Research direction
No file or test is named. Reproduce the issue by entering `2-4` in the material `Menge` field, then trace how the quantity is validated and saved. Done means the entered range is preserved, or the validation message accurately explains the supported input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100