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

Add support for transactions when in message_send

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.2, 2.2
    • Fix Version/s: None
    • Component/s: Libraries, Messages
    • Labels:
      None
    • Affected Branches:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              dobedobedoh Andrew Nicols
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              5 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: