id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 12429 RawQuerySet doesn't call ops.convert_values in the backend Erin Kelly nobody "Because !RawQuerySet doesn't invoke the sql compiler, the {{{ops.convert_values}}} method in the Oracle backend never gets called. As a result, several values come through in the wrong format -- most notably, !TextField values get pulled in as a cx_Oracle LOB object rather than as a Unicode string. The complication with just adding a call to the method is that when using the other backends, it only ever gets called in an aggregation query. Outside of this context, it breaks. The method needs a closer examination to determine when it should be called and exactly what it should be doing. Also, we need a test case for this. The existing raw_query tests miss it." closed Database layer (models, ORM) dev fixed oracle raw Matt Boersma Accepted 0 0 0 0 0 0