** Changed in: mahara
    Milestone: None => 1.4.0

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Reviewers, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/685642

Title:
  Locked crons cause duplicate key errors in postgres logs

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  This affects postgres, and may affect MySQL too. Although this is
  currently the intended behaviour of lib/cron.php->cron_lock(), and the
  SQLException is caught in the php, the error is still seen by the
  database and logged in the database server's logs.

  Although it's not actually an issue, it may confuse/upset admins and
  is probably best removed.

  The easiest solution is to run a get_field before the insert atempt,
  but obviously this adds an additional database call to the mix. I
  imagine that this is the reason that the current system was
  implemented in this manner, so I won't push my fix just yet.

  Any thoughts..?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/685642/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to