Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-1133

add validation rules to check value of edittime field

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.9.4
    • None
    • Module: Dialogue
    • None
    • Any
    • Easy
    • MOODLE_19_STABLE

    Description

      The edittime field for a dialog contains a value used to determine the date a conversation should be automatically closed at after initial authoring. This validation check (client and server-side) requires that the value be less that 6-chars and be of numeric type. Prior to this fix it was possible to enter a value larger than the maximum bigint value for the OS which was breaking a SQL query in the cron() sub for the dialog module.

      Attachments

        Activity

          People

            deeknow Dean Stringer
            deeknow Dean Stringer
            Troy Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: