#24164: Oracle GIS geoapp extent test failure
-------------------------------------+---------------------------
Reporter: timgraham | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 1.8alpha1
Severity: Normal | Keywords: oracle
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+---------------------------
The new test added in 374c2419e5adef53a643bf69c4753a6bf0c78a98 doesn't
work on Oracle. We need to fix Oracle or skip the test.
{{{
======================================================================
ERROR: test_extent_with_limit
(django.contrib.gis.tests.geoapp.tests.GeoQuerySetTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tim/code/django/django/test/testcases.py", line 1005, in
skip_wrapper
return test_func(*args, **kwargs)
File "/home/tim/code/django/django/contrib/gis/tests/geoapp/tests.py",
line 502, in test_extent_with_limit
extent2 =
City.objects.all()[:3].aggregate(Extent('point'))['point__extent']
File "/home/tim/code/django/django/db/models/query.py", line 300, in
aggregate
return query.get_aggregation(self.db, kwargs.keys())
File "/home/tim/code/django/django/db/models/sql/query.py", line 428, in
get_aggregation
result = compiler.execute_sql(SINGLE)
File "/home/tim/code/django/django/db/models/sql/compiler.py", line 826,
in execute_sql
cursor.execute(sql, params)
File "/home/tim/code/django/django/db/backends/utils.py", line 65, in
execute
return self.cursor.execute(sql, params)
File "/home/tim/code/django/django/db/utils.py", line 95, in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/home/tim/code/django/django/db/backends/utils.py", line 65, in
execute
return self.cursor.execute(sql, params)
File "/home/tim/code/django/django/db/backends/oracle/base.py", line
478, in execute
return self.cursor.execute(query, self._param_generator(params))
DatabaseError: ORA-06553: PLS-306: wrong number or types of arguments in
call to 'SDO_AGGR_MBR'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24164>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.61c020f7ab0887033c7f859ef14fdb63%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.