Moodle

Change question code to allow backup and restore of files from attempts

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 1.9.3, 2.0
  • Fix Version/s: None
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE, MOODLE_20_STABLE

Description

Tim and I discussed on Jabber making changes to the question code to support the fileresponse qtype plugin (contrib, gsoc) to backup and restore user files. I am to investigate what changes are needed in core and update this plugin.

Activity

Hide
Penny Leach added a comment -

Comment from Adriane:

I based the file
handling in the fileresponse question type on the assignment module and I
always intended for the fileresponse backup/restore to work a lot like the
assignment backing up and restoring. The main tricky part is recoding the
attempt and question ids during the restore, but I don't think it's much
more complicated than in the assignment module, if at all. I'm sure there
are also other possibilities, but that was what I had planned to do.

Show
Penny Leach added a comment - Comment from Adriane: I based the file handling in the fileresponse question type on the assignment module and I always intended for the fileresponse backup/restore to work a lot like the assignment backing up and restoring. The main tricky part is recoding the attempt and question ids during the restore, but I don't think it's much more complicated than in the assignment module, if at all. I'm sure there are also other possibilities, but that was what I had planned to do.
Hide
Tim Hunt added a comment -

I now don't really want this in core until after http://docs.moodle.org/en/Development:Question_Engine_2 is in.

Show
Tim Hunt added a comment - I now don't really want this in core until after http://docs.moodle.org/en/Development:Question_Engine_2 is in.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated: