Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32999 META: Files UI Stage 2 polishing in master
  3. MDL-33147

Need transaction support for some files operations

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Files API
    • Labels:
      None
    • Testing Instructions:
      Hide

      This change should have no visible results (just introduction of transactions) as such we just need to test things still work correctly.

      1. Test normal file operations to ensure that they continue to work perfectly.
        • Test uploading a file
        • Test deleting a file from a resource
      2. Test file reference operations.
        • Test using a file by reference.
        • Test deleting a file used by reference.
      Show
      This change should have no visible results (just introduction of transactions) as such we just need to test things still work correctly. Test normal file operations to ensure that they continue to work perfectly. Test uploading a file Test deleting a file from a resource Test file reference operations. Test using a file by reference. Test deleting a file used by reference.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Pull Master Branch:
      dev_MDL-33147_transaction

      Description

      From Dan's review at MDL-33032:

      Transaction support is required in some of the file functions

      Particularly now we are dealing with two tables, e.g. create_file_from_reference delete_reference2.3

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Jun/12