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

Wrong conversion from '0' (string) to '' under Oracle

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.4, 1.8.4, 1.9
    • Fix Version/s: 1.7.5, 1.8.5, 1.9.1
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Database:
      Oracle
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      It seems that the Oracle dmllib stuff, when processing data before being inserted (a.k.a "oracle_dirty_hack") converts '0' strings to ' ' (one space) strings.

      And this is causing minor-major problems here and there (see, for example MDL-14025).

      This is a wrong behaviour and those '0' strings MUST be completely unmodified. Enforce it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stronk7 Eloy Lafuente (stronk7)
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Tester:
              Petr Skoda
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                8/Apr/08