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

Add support for transactions when in message_send

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              dobedobedoh Andrew Lyons
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: