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

validate_data() in many events does not call parent validation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.7
    • Component/s: Events API
    • Labels:
    • Sprint:
      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

              Assignee:
              skodak Petr Skoda
              Reporter:
              skodak Petr Skoda
              Peer reviewer:
              Ankit Agarwal Ankit Agarwal
              Integrator:
              Marina Glancy Marina Glancy
              Tester:
              Rajesh Taneja Rajesh Taneja
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14