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

add validation rules to check value of edittime field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.4
    • Fix Version/s: None
    • Component/s: Module: Dialogue
    • Labels:
      None
    • Database:
      Any
    • Difficulty:
      Easy
    • Affected Branches:
      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

            Assignee:
            deeknow Dean Stringer
            Reporter:
            deeknow Dean Stringer
            Participants:
            Component watchers:
            Troy Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: