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

Bulk Upload tool override with file an exisiting active enrollment changes due to utc time difference



    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.1
    • Fix Version/s: None
    • Component/s: Enrolments, User management
    • Labels:
    • Affected Branches:


      Replication steps:

      1. Create a new user manually (joetest) 
      2. Create a new course name it: 4222400 and make it open 
      3. Enroll User in this course manually - confirm the user shows an ACTIVE enrollment in the course
      4. At or after 5:01 PM Central timezone,  Navigate to use the bulk upload tool in moodle siteurl/admin/tool/uploaduser/index.php 
      5. Create a bulk upload feedfile example below
        username idnumber password firstname lastname icq email institution course1 group1 type1
        joetest 3 Change.her99 joe smith 26196022 joetest@joe.com PÚBLICA 4222400   1
        911 911 A11 tiny ARIZA 40 fakey@unite.edu.co PÚBLICA 4222400 grouptest 1
        912 913 A12 teeny SANABRIA 41 fake@unit.edu.co ESPECIALIZACIÓN  4222400 grouptest 1
      1. upload the feed with the following selections: a. upload type= add new and update exisiting users b. existing user details: override with file and submit the change
      2. Check the user joetest's enrollment > note that it shows the enrollment is "Not Current" see screenshot here: https://www.screencast.com/t/YJp3iUQq and it will show the enrollment starting on the next day expected: observed: 

      notes: because of the time difference of Central to UTC time (6 hour difference) another example outside of this window from moodle demo site, I created the enrollment at 11:52 AM Central = 5:52 PM UTC, 6 hour difference from central time if making a change so for example if I ran a bulk upload tool file with override with file new and existing users and a user was enrolled already but I ran it in the Moodle demo site at 6:01 PM Central it would change the enrollment to expect the enrollment to happen on the next day - not remain a current active enrollment. This enhancement request to look at adding a specification to date or active status for above scenario




            Unassigned Unassigned
            jlooney jenna
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            0 Vote for this issue
            1 Start watching this issue