laravel-scorm icon indicating copy to clipboard operation
laravel-scorm copied to clipboard

upload the same scorm will be replace old scorm with same name

Open cecep31 opened this issue 3 years ago • 1 comments

when we try to upload some scrom with same name will be replace old scorm with same scorm file

cecep31 avatar Nov 25 '22 08:11 cecep31

Having the same problem. We have a client who generated a bunch of scorm packages based off a starting template so when they finished they all had the same identifier. Uploading the next scorm package just overwrote the original once instead of uploading the new one & leaving the old one in place (as they are different scorm modules with different learning content).

We've extended the ScormManager class without our own custom one that overwrites the uploadScormArchive function with our own version that removed the check if a scorm record already exists with that identifier / origin_file. Not sure if this will have any ongoing unintended consequences though.

DeeJ avatar May 30 '24 08:05 DeeJ