Checking availability of repeating bookings via AJAX defective with (at least) Date 2

tirsales - March 31, 2009 - 15:29
Project:Public Bookings
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed
Description

publicbookings_ajax_post_prepare contains a bug that I am unable to fix ATM.

If a booking is added or edited, that will be repeated (see admin/content/publicbookings/booking/add or admin/content/publicbookings/booking/*/edit) checking conflicts via AJAX ("Check Availability"-Button) will not work: publicbookings_ajax_post_prepare contains a bug. It calls date_repeat_merge with one param ($_POST), but date_repeat_merge expects to get two parameters. Fixing this would need either more familiarity with the Date API then I possess or a rewrite of Publicbookings AJAX features.

Fixing this bug is thus postponed for some time - I'm sorry.

#1

tirsales - April 3, 2009 - 14:08

Additionally AJAX checking of already committed bookings is not possible. I'm working on this part.

 
 

Drupal is a registered trademark of Dries Buytaert.