Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24180

Activity available to/from controls are duplicated when conditional activities is enabled

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Conditional activities
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      With conditional activities enabled some activities have two sets of available to/from controls. One from conditional activities and one from the activity itself. See the attached screenshot.

      Fixing this will involve the upgrade migrating the data in, for example, timeavailablefrom and timeavailableto in the data table into a conditional activity condition. If any activities have available from/to set the upgrade will need to enable conditional activities. Then the UI elements in the activity settings forms can be removed.

      Activities that have this problem:
      assignment
      choice
      database
      feedback
      lesson
      quiz
      SCORM package
      workshop

      Workshop is a problem as it has two sets of dates. Open for submissions and open for assessment.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10