Error in Reggelisch price calculation
- Dominant language
- Kotlin
- Stars
- 12
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
In Reggelisch, if I order more than 1 french toast and some bacon, then the price of the toast is calculated correctly, but the price of the bacon is multiplied by the amount of toast I order. E.g.: 1 toast = 250 HUF, 1 bacon = 150 HUF, but if I order 2 toast and 1 bacon, the price calculated by the site is 800 HUF instead of the correct 650 HUF.
This problem also exists with the other main courses.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the French toast and bacon example from the issue, then trace the main-course price calculation entry point in the Kotlin/Spring Boot application. Check whether the same quantity is applied to every ordered item, including the other main courses, and verify that the example totals 650 HUF after the fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin, spring-boot
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100