Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-9785 Improve Flexibility of Question Category Sharing and Permissions
  3. MDL-9868

Add code to cope with detecting and moving associated files

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 1.9
    • Questions, Quiz
    • None
    • MOODLE_19_STABLE

      Add code to cope with detecting and moving associated files

      From http://docs.moodle.org/en/Development:Plan_to_Improve_Flexibility_of_Question_Category_Sharing_and_Permissions#Add_code_to_cope_with_detecting_and_moving_associated_files :

      Need code to check for files in the current course / at the site level that need to be moved when a question is moved. Questions can be moved either :

      • when a whole category is moved in the Edit Category page
      • or when an individual question is moved in the edit question form by using the select box there.

      The default question type object will have a new method to deal with things that need doing when a question is removed default_questiontype::move_to_category() this can be overriden by child classes for extra specific stuff to be done for special question types.

      We will check for linked course files and site files in question text and other text using a regular expression. List associated files for user and allow user the choice to move files to the same context as the question. So if a question is shared at the :

      • course level or module level associated files will be stored in the course files area.
      • course category or site level associated files will be stored in the site files area.

            jamiesensei Jamie Pratt (Inactive)
            jamiesensei Jamie Pratt (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.