Active
Project:
Hotel Booking System for Ubercart
Version:
6.x-4.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2011 at 08:07 UTC
Updated:
20 Dec 2011 at 08:07 UTC
hotel_booking.module line 899:
uc_cart_add_item($node->nid, 1, $data);
drupal_set_message(t('Added your booking to the cart, please note that your booking is not
confirmed until you <a href="!url">Complete checkout</a>', array('!url' => url('cart/checkout'))));
$cart_item_id = db_last_insert_id('{uc_cart_products}', 'cart_item_id');uc_cart_add_item not necessarly add node to cart, and produce warning on postgre sql 8.4 server.
when site visitor tries to add same hotel_room for same date twice, the second request ends up with the above warning