Modify Booking - Date is set to random date

Issue #34 closed
wiggydave10 created an issue

1) Go to dashboard

2) Click Modify on a booking (13-10-2017 in G-BPME)

3) Click "Update Reservation"

See: Error "The start time is in the past", Date set to "01-01-1970"

Expect: Reservation to update or not possible as booking is approved, and date not being wrong.

See attached for steps.

Note: Booking URL is https://ftlapp.minerbog.co.uk/schedule/reservation/FS_06977201-615C

Note: Before save it is set to "01-01-1970".

Comments (3)

  1. wiggydave10 reporter

    Added more reservations (20/10/2017) and now it seems to have this date rather than my actual one (13/10/17), but shows correctly on dashboard.

    ModifyBooking-BookingDateInPastNowSetToADifferentDate.PNG

  2. Gavin Sharp repo owner

    Managed to sort of recreate this. If you click on any schedule date and then go directly back to the dashboard and click on modify any booking it will show the date you clicked on in the schedule not the booking date. It seems like the session cookie is not clearing as it should.

    This will be solve in a roll out for Issue#17 as the modal displays for booking will now use Ajax instead of php calls to update the data.

  3. Log in to comment