Surprised this one hasn't been reported yet so I am going to guess that this also has to do with the fact that I have revisions turned on. Commenting to the section in the merci cron function around lines 838 to 847 in merci.module should act as a temporary band aid; will confirm tomorrow.

$time = gmdate('Y-m-j H:i:s', time() + 3600);
  //find all pending reservations that have started and set their stauts to no show
  $nodes = merci_db_reservations_by_status_in_timespan(array(MERCI_STATUS_PENDING), NULL, $time);

  foreach (array_keys($nodes) as $reservation_nid) {
    watchdog('merci', "Setting node " . $reservation_nid . " to no show");
    $node = node_load($reservation_nid);
    $node->merci_reservation_status = MERCI_STATUS_NO_SHOW;
    node_save($node);
  }

Comments

darrick’s picture

Status: Active » Needs review

I've committed a fix here: http://drupalcode.org/project/merci.git/patch/e42566a

It wasn't related to the use of revisions. Please test.

iPeat’s picture

The work around does work however you do have change the status of unused reservations yourself.

Currently testing the fix submitted by darrick (Thanks!)

darrick’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.