samimave / car-pool

Automatically exported from code.google.com/p/car-pool
0 stars 0 forks source link

Find rides doesnt display correct results #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Run the project with the ride table already populated but the matches
table empty.
2. Login and click find rides on the right hand menu
3. No rides are displayed.

When accessing searchRides.jsp the only rides displayed are those contained
in the matches table, even if there are rides stored in the ride table.
I dont understand how the matches table is supposed to work but I
tentatively think that this is the problem.

Original issue reported on code.google.com by arlo.pho...@gmail.com on 20 Aug 2008 at 3:13

GoogleCodeExporter commented 9 years ago
This happens due to the sql.  Which is why I updated the addRide method which 
also
adds the owner of the ride to the ride.  As my sql statement only works with a 
match
on the ride.  So every ride should have a coorosponding match with the owner.  
This
is a work around for the moment as the sql is a bit in depth and I didn't know a
simple solution to not require the owner of a ride to be matched with it.

So this is normal for the moment

Original comment by Jordan.D...@gmail.com on 20 Aug 2008 at 3:27

GoogleCodeExporter commented 9 years ago

Original comment by Jordan.D...@gmail.com on 30 Aug 2008 at 9:37

GoogleCodeExporter commented 9 years ago

Original comment by Jordan.D...@gmail.com on 22 Sep 2008 at 1:25