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

Newly copied files should take on the userid of the current user, and dates reset

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Major Major
    • 2.3
    • 2.2.3
    • Files API
    • MOODLE_22_STABLE
    • MOODLE_23_STABLE
    • wip-MDL-33409-master
    • Hide

      1. Login as admin/teacher USER1
      2. Create a file/folder resource and add files there
      3. Login as admin/teacher USER2
      4. Create a file/folder resource
      5. Add files created in #2 from Server files repository using filepicker (change the name when adding them so you don't confuse them with those from #2 later)
      6. Make sure the files from #5 have timecreated and timemodified as of now
      7. Save changes and start editing again
      8. Make sure that you can see files from #5 in your Recent files (which means that you are the owner)
      9. You can also login as USER1 and make sure you DO NOT see files from #5 in your Recent files (because you are not the owner)

      Show
      1. Login as admin/teacher USER1 2. Create a file/folder resource and add files there 3. Login as admin/teacher USER2 4. Create a file/folder resource 5. Add files created in #2 from Server files repository using filepicker (change the name when adding them so you don't confuse them with those from #2 later) 6. Make sure the files from #5 have timecreated and timemodified as of now 7. Save changes and start editing again 8. Make sure that you can see files from #5 in your Recent files (which means that you are the owner) 9. You can also login as USER1 and make sure you DO NOT see files from #5 in your Recent files (because you are not the owner)

      The userid field generally should mean "the person who created this file record".

      When a file is copied from another existing file in Moodle, the new copy should have the userid of the current user, and all timestamps reset to the current time.

      Apparently this is not currently the case - the userid and timestamps are blindly copied.

            marina Marina Glancy
            dougiamas Martin Dougiamas
            Dan Poltawski Dan Poltawski
            Ankit Agarwal Ankit Agarwal
            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.