﻿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
26785	Oracle backend returns empty string instead of None for empty geometries	Sergey Fedoseev	Sergey Fedoseev	"{{{#!python
from django.contrib.gis.geos.geometry import GEOSGeometry
from django.contrib.gis.db.models.functions import Intersection
from test_app.models import City

City.objects.annotate(inter=Intersection('point', GEOSGeometry('POINT (0 0)', srid=4326))).values('inter')
}}}
{{{#!python
<QuerySet [{'inter': u''}]>
}}}

{{{#!python
from django.db import connection

c = connection.cursor()
c.execute('SELECT ""TEST_APP_CITY"".""ID"", SDO_UTIL.TO_WKTGEOMETRY(SDO_GEOM.SDO_INTERSECTION(""TEST_APP_CITY"".""POINT"", SDO_GEOMETRY(\'POINT(0 0)\', 4326), 0.05)) AS ""INTER"" FROM ""TEST_APP_CITY""')
.fetchall()
}}}
{{{#!python
[('1', None)]
}}}"	Bug	closed	GIS	1.9	Normal	fixed			Ready for checkin	1	0	0	0	0	0
