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

validate_data() in many events does not call parent validation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6
    • 2.7
    • Events API
    • BACKEND Sprint 12

    Description

      Sometimes there are abstract parents that define some validation which is overridden by events, we should always call parent::validate_data() to make sure it was not forgotten...

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              skodak Petr Skoda
              Ankit Agarwal Ankit Agarwal
              Marina Glancy Marina Glancy
              Rajesh Taneja Rajesh Taneja
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                12/May/14