MERCI's "Check Availability" Logic is Bad

Events happening in the community are now at Drupal community events on www.drupal.org.
atheis's picture

I don't know if anyone else has come across this issue but we can overbook node in bucket content types. If there are two inventory nodes in a bucket content type, you are able to make three+ overlapping reservations.

You only receive an error AFTER applying the two inventory nodes to reservation. Any overlapping reservation edited after that will return an error stating the item is no longer reservable.

Our only workaround is to have all bucket content types only reservable by staff and make reservation for the related equipment first come, first served.

Darrick thinks the issues might be creating reservations with same start and end time. I've successfully created overbooked reservations with different start and end times. Reviewing the CVS messages, the only change that looks potentially related to this issue is a modification to the merci_get_reservable_items function. (http://drupal.org/cvs?commit=378764)

We did a fresh drupal install and the same issue come up.

Comments

Thanks Darrick

atheis's picture

We'll have Leo and Brian check it out tomorrow.

Open Media Project

Group categories

Audience

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: