Version
v2
Severity
High
Suggested Priority
High
Observed Behaviour
When logged in, can click on a gig and enter a number of tickets. This takes you to the account page which shows the user's bookings. However, can then click the back arrow on the browser, which will take you back to the booking page and let you enter another booking for the same gig.
These then appear as duplicates in the account page and this can be used to subvert the max ticket number per gig.
Expected Behaviour
When attempting this, it should show "You have already booked this gig" like it does when using the menu bar to navigate back to the same gig.
Reproduction Steps
- Follow the instructions in the README
- Navigate to the gigs page
- Enter a number of tickets under the maximum
- Click "book gig"
- Go back in the browser
- Repeat step 3 & 4
- Observe the duplicate bookings in the account page
Version
v2
Severity
High
Suggested Priority
High
Observed Behaviour
When logged in, can click on a gig and enter a number of tickets. This takes you to the account page which shows the user's bookings. However, can then click the back arrow on the browser, which will take you back to the booking page and let you enter another booking for the same gig.
These then appear as duplicates in the account page and this can be used to subvert the max ticket number per gig.
Expected Behaviour
When attempting this, it should show "You have already booked this gig" like it does when using the menu bar to navigate back to the same gig.
Reproduction Steps