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

Some improvements to persistent validation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: None
    • Component/s: Competencies
    • Labels:
      None
    • Story Points:
      1
    • Sprint:
      CBE Sprint 0

      Description

      I noticed that:

      1. We should check that the validate_* methods are protected
      2. That an ID is NOT set when we call create(), that messes up with the validation
      3. We should apply the basic validation to all properties before applying the custom one

        Attachments

          Activity

            People

            Assignee:
            fred Frédéric Massart
            Reporter:
            fred Frédéric Massart
            Participants:
            Component watchers:
            Jean-Philippe Gaudreau, Steve Massicotte, Serge Gauthier, Issam Taboubi, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: