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

tool_uploadcourse doesn't apply default start date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.5, 3.1.1, 3.2
    • Fix Version/s: 3.0.7, 3.1.3
    • Component/s: Course
    • Labels:
    • Testing Instructions:
      Hide
      1. Use tool_uploadcourse to upload a csv with courses data
        • Upload mode: Create new courses or update existing ones
        • Update mode: Update with CSV data and defaults
      2. Set the default start date to 2020
      3. Create the course and check its start date, it should be the one you set in 2020

      Try to find another date_selector or datetime_selector field in moodle which name is part of an array and if you do check that everything is working as it should. I've tried to find a form like this with git grep "date.[a-z_A-Z][[a-z_A-Z]" but I couldn't. If you do find one comment about it here please.

      Show
      Use tool_uploadcourse to upload a csv with courses data Upload mode: Create new courses or update existing ones Update mode: Update with CSV data and defaults Set the default start date to 2020 Create the course and check its start date, it should be the one you set in 2020 Try to find another date_selector or datetime_selector field in moodle which name is part of an array and if you do check that everything is working as it should. I've tried to find a form like this with git grep "date. [a-z_A-Z] [ [a-z_A-Z] " but I couldn't. If you do find one comment about it here please.
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-55804_master

      Description

      While working on MDL-22078 I've noticed that start date and end date were not set as defaults.

      There are two different issues:

      I think this has never been tested.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Nov/16