alexpmarks7 / EventsProject

A 3 tier application that can be used to manage sporting and music events
0 stars 0 forks source link

Bugs #1

Open alexpmarks7 opened 3 years ago

alexpmarks7 commented 3 years ago

When changing from sports to music events, the ChosenEventListBox didn't change. This lead to the GUI crashing when certain methods were called.

Fixed: Implemented a new method that cleared the ChosenEventListBox when changing between sport and music events

alexpmarks7 commented 3 years ago

GUI would crash when creating a new venue if fields were empty or invalid.

Fixed: Added a try catch block

alexpmarks7 commented 3 years ago

GUI crashed if trying to edit an empty venue field

Fixed: Made the edit venue button only accessible when fields are populated with a venue

alexpmarks7 commented 3 years ago

Was able to sell tickets beyond capacity for an event

Fixed: Changed method for selling tickets so that the event and associated venue interact, and implemented a try catch block to prevent ticket sales beyond capacity of event

alexpmarks7 commented 3 years ago

Was able to create events with the number of tickets sold exceeding the capacity of the venue

Fixed: Revisited CRUD method to ensure when creating an event, the initial tickets sold cannot exceed capacity. Exception thrown in such cases

alexpmarks7 commented 3 years ago

Combo boxes when highly populated exceeded bounds of the application

Fixed: added a scroll bar to combo boxes so they won't exceed a certain height

alexpmarks7 commented 3 years ago

Was able to add an event type which wasn't the correct format ie "hck" or "hockey" instead of the standard 5 characters "HCKEY"

Fixed: Added exception cases to method when format wasn't correct