SENG3160-2018 / flightpub

0 stars 1 forks source link

Hibernate not querying all the flights from the database. #16

Closed ebbanat closed 6 years ago

ebbanat commented 6 years ago

Describe the bug Not all Flights are in the database are fetched when querying. To Reproduce Steps to reproduce the behavior:

  1. Select Business user.
  2. Complete query with Departure = MEL, Arrival = SYD, Cabin = Economy, Ticket = Id, Travel = 23/09/2017, Direct = true
  3. Click "Search"
  4. No Flights are displayed

Expected behavior Minimum 1 flight should be displayed as the Flight does exist on the Database

Desktop (please complete the following information):

ebbanat commented 6 years ago

Prelinary testing - displayed how many flights where being returned by the query and it returned 0, implying that the issue is not with the displaying but with the query itself.