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

Prevent any alteration of frontpage from tool_uploadcourse

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a CSV to import courses from
        • It only requires the columns: shortname, category and fullname
      2. Try to update a course using the frontpage shortname
      3. Try to create a course using the frontpage shortname
      4. Try to rename a course to the frontpage shortname
      5. Try to generate a shortname which would match the frontpage shortname
      6. Make sure it is impossible to update anything related to the frontpage.
      7. Repeat using the CLI script.
      Show
      Create a CSV to import courses from It only requires the columns: shortname, category and fullname Try to update a course using the frontpage shortname Try to create a course using the frontpage shortname Try to rename a course to the frontpage shortname Try to generate a shortname which would match the frontpage shortname Make sure it is impossible to update anything related to the frontpage. Repeat using the CLI script.
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-40737-master
    • Sprint:
      BACKEND Sprint 3

      Description

      Currently the tool doesn't check if the course that we are updating is the front page. There should be a strict validation on that to prevent any modification of the front page!

      + Unit Tests to confirm it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fred Frédéric Massart
              Reporter:
              fred Frédéric Massart
              Peer reviewer:
              Rajesh Taneja
              Integrator:
              Marina Glancy
              Tester:
              Petr Skoda
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13