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

tool_uploadcourse doesn't apply default start date

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.5, 3.1.1, 3.2
    • 3.0.7, 3.1.3
    • Course
    • MOODLE_30_STABLE, MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MDL-55804_master
    • 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.

    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

              dmonllao David Monllaó
              dmonllao David Monllaó
              Simey Lameze Simey Lameze
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Mark Nelson Mark Nelson
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                14/Nov/16