|
[
Permalink
| « Hide
]
Dan Marsden added a comment - 01/Dec/08 12:52 PM
assigning to Piers - I've closed the other duplicate for this which has another suggestion on how to fix - If possible would be good to fix without the addition of DB fields so it can be fixed in stable trees as well (we cannot make changes to the db schema in stable) Thanks!
Hi,
I think the problem here is not the same as in In the other case the problem was about extracting track data and here the problem is about keeping that data. The solution proposed there ( I consider that the solution proposed by Ron of an additional field is the optimum. Another issue regarding this is that some fields are re-stored (and thus timemodified updated) when they're not modified but only read. As I'm developing some SCORM 2004 packages I observed the cmi.objectives and cmi.interactions timemodified is updated when the tracks are read. The workaround I am using is setting the cmi.exit as "suspend" in the first access and keep it unmodified even when the SCO is completed. But this is only a workaround... Commited a fix for this against HEAD. This is a proposed approach and I am seeking feedback on it. The idea is that it "gracefully degrades" as it deals with existing data, and new.
Hi Ron - the best I can do is provide you with the patch for 1.9 STABLE. Hopefully you are able to upgrade to latest 1.9?
Cheers, proposed patch for 1.9 STABLE.
That would be cvs branch MOODLE_19_STABLE which is currently 1.9.3+ - using the weekly build should be OK.
have backported fix to 1.9. Please review.
Hi Ron, it's in CVS MOODLE_19_STABLE - won't be in the latest package on download.moodle.org until next week.
info here on how to apply patches fyi: ...but if you don't have easy CVS access, you could pull a tar out of the catalyst Git repo here:
http://git.catalyst.net.nz/gw?p=moodle-r2.git;a=shortlog;h=refs/heads/MOODLE_19_STABLE click on "tree" - then "snapshot"
Thank you Dan, I was able to download the 4 files and apply to our version of Moodle 1.9.4 build 20090128.
The "Started on" date&time field is still updated every time the scorm course is accessed. This value should remain fixed to the date&time the course is first started. Other than replacing the four files, should I have made any modifications to the database? |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||