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

Incorrect 'maxlength' default string

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.5, 2.8
    • Fix Version/s: 2.7.6, 2.8.4
    • Component/s: Forms Library
    • Labels:
    • Sprint:
      Team Beards Sprint 3

      Description

      The string 'err_maxlength' in lang/en/form.php is wrong - it uses 'not' instead of 'no'. This string is used when adding a 'maxlength' rule to a form element without specifying the string used -

      eg. $form->addRule('name', null, 'maxlength', 255)

        Attachments

          Activity

            People

            Assignee:
            markn Mark Nelson
            Reporter:
            markn Mark Nelson
            Peer reviewer:
            Simey Lameze
            Integrator:
            Dan Poltawski
            Tester:
            Dan Poltawski
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              9/Mar/15