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

Problems with localized floats in new 1.9.5 gradebook code

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 1.9.6
    • Component/s: General, Usability
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      While working in the gradebook, some users reported that it was not accepting "aggregationcoef" with commas, altough they are showed this way on the interface. Debugging the problem, i found that it is on the PARAM_NUMBER, that only does a type cast on $param.
      To work with localized numbers, it must first perform a replace of 'descsep' with '.' and then do the cast.
      There is a patch attached to correct this issue.

        Attachments

          Activity

            People

            • Assignee:
              skodak Petr Skoda
              Reporter:
              danielneis Daniel Neis Araujo
              Tester:
              Sam Hemelryk
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Barbara Ramiro, Jake Dallimore, Jun Pataleta
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Oct/09