Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-30029

Add support for transactions when in message_send

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1.2, 2.2
    • Libraries, Messages
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE

      Comment in lib/messagelib.php->message_send():

      //TODO: we need to solve problems with database transactions here somehow, for now we just prevent transactions - sorry
      $DB->transactions_forbidden();

      This means that it's impossible to rollback a transaction if a message send fails.

            skodak Petr Skoda
            dobedobedoh Andrew Lyons
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.