Download & Extend

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

Project:Public Bookings
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed

Issue Summary

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.

Comments

#1

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

nobody click here