Index: openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/proctoring-support/lib/Attic/proctoring-upload.tcl,v diff -u -r1.1.2.17 -r1.1.2.18 --- openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl 15 Feb 2022 15:47:00 -0000 1.1.2.17 +++ openacs-4/packages/proctoring-support/lib/proctoring-upload.tcl 4 Mar 2022 09:55:28 -0000 1.1.2.18 @@ -74,14 +74,11 @@ ad_script_abort } - set timestamp [clock seconds] - set file ${file.tmpfile}.${extension} file rename -- ${file.tmpfile} $file set artifact [::proctoring::artifact::store \ -object_id $object_id \ -user_id $user_id \ - -timestamp $timestamp \ -name $name \ -type $type \ -file $file] @@ -97,7 +94,7 @@ "user_id": "$user_id", "name": "$name", "type": "$type", - "timestamp": "$timestamp", + "timestamp": "[dict get $artifact timestamp]", "file": "[dict get $artifact file]", "id": "[dict get $artifact artifact_id]" }