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

stored_file->get_author returns the wrong information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0.6, 2.1.3
    • 2.0, 2.1, 2.2
    • Files API, Unit tests
    • None

      From the code (/moodle/lib/filestorage/stored_file.php):

      454: public function get_author() {
      455: return $this->file_record->license;
      456: }

      NOTE: I selected Unit Tests as one of the components because CLEARLY some are missing/broken to let something as obviously incorrect as this slip through.....

            skodak Petr Skoda
            jmlsteele Jody Steele
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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