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

Equella repository needs to set field-source field correctly and use it to indicate source file too

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.3
    • 2.3
    • Repositories

      Following on from MDL-33513

      repository/equella/lib.php needs two new functions:

      function get_file_source_info($filepath)
      .... returns 'Equella: originalfilename.ext' which came from filepicker which may not be the current name in Moodle.

      function get_reference_details($reference, $filestatus = 0)
      .... returns the data from the associated file->source field

      (I just tried to do this quickly myself but I'm getting a bit lost in the repository woods!)

            marina Marina Glancy
            dougiamas Martin Dougiamas
            Martin Dougiamas Martin Dougiamas
            Dan Poltawski Dan Poltawski
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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