Issue Details (XML | Word | Printable)

Key: MDL-14182
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Eloy Lafuente (stronk7)
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

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

Created: 04/Apr/08 05:42 PM   Updated: 08/Apr/08 02:20 PM
Return to search
Component/s: Database SQL/XMLDB
Affects Version/s: 1.7.4, 1.8.4, 1.9
Fix Version/s: 1.7.5, 1.8.5, 1.9.1

Issue Links:
Dependency
 

Database: Oracle
Participants: Eloy Lafuente (stronk7) and Petr Skoda
Security Level: None
QA Assignee: Petr Skoda
Resolved date: 04/Apr/08
Affected Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Fixed Branches: MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
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.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Eloy Lafuente (stronk7) added a comment - 04/Apr/08 07:38 PM
Fixed from 17_STABLE to HEAD. '0' strings are now properly sent to DB.

Petr Skoda added a comment - 07/Apr/08 08:40 PM
reviewed, closing - thanks!