#12400: column "X" named in key does not exist error when models.PointField 
used in
unique_together
------------------------+------------------------------------
     Reporter:  monkut  |                    Owner:  claudep
         Type:  Bug     |                   Status:  new
    Component:  GIS     |                  Version:  master
     Severity:  Normal  |               Resolution:
     Keywords:          |             Triage Stage:  Accepted
    Has patch:  0       |      Needs documentation:  0
  Needs tests:  0       |  Patch needs improvement:  0
Easy pickings:  0       |                    UI/UX:  0
------------------------+------------------------------------
Changes (by timgraham):

 * status:  closed => new
 * has_patch:  1 => 0
 * resolution:  fixed =>
 * stage:  Ready for checkin => Accepted


Comment:

 Crash on Oracle after this change:
 {{{
 Traceback (most recent call last):
   File "./runtests.py", line 434, in <module>
     options.debug_sql)
   File "./runtests.py", line 256, in django_tests
     extra_tests=extra_tests,
   File "/home/jenkins/workspace/django-
 oracle/database/oragis11/label/trusty/python/python2.7/django/test/runner.py",
 line 210, in run_tests
     old_config = self.setup_databases()
   File "/home/jenkins/workspace/django-
 oracle/database/oragis11/label/trusty/python/python2.7/django/test/runner.py",
 line 166, in setup_databases
     **kwargs
   File "/home/jenkins/workspace/django-
 oracle/database/oragis11/label/trusty/python/python2.7/django/test/runner.py",
 line 370, in setup_databases
     serialize=connection.settings_dict.get("TEST", {}).get("SERIALIZE",
 True),
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/db/backends/base/creation.py",
 line 71, in create_test_db
     run_syncdb=True,
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/core/management/__init__.py",
 line 118, in call_command
     return command.execute(*args, **defaults)
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/core/management/base.py",
 line 398, in execute
     output = self.handle(*args, **options)
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/core/management/commands/migrate.py",
 line 168, in handle
     self.sync_apps(connection, executor.loader.unmigrated_apps)
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/core/management/commands/migrate.py",
 line 288, in sync_apps
     cursor.execute(statement)
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/db/backends/utils.py",
 line 64, in execute
     return self.cursor.execute(sql, params)
   File "/home/jenkins/workspace/django-
 oracle/database/oragis11/label/trusty/python/python2.7/django/db/utils.py",
 line 95, in __exit__
     six.reraise(dj_exc_type, dj_exc_value, traceback)
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/db/backends/utils.py",
 line 62, in execute
     return self.cursor.execute(sql)
   File "/home/jenkins/workspace/django-
 
oracle/database/oragis11/label/trusty/python/python2.7/django/db/backends/oracle/base.py",
 line 478, in execute
     return self.cursor.execute(query, self._param_generator(params))
 django.db.utils.DatabaseError: ORA-02329: column of datatype ADT cannot be
 unique or a primary key
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/12400#comment:12>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.008ec6275c809a4232b3961f9478896f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to