Your message dated Tue, 06 Apr 2010 22:17:52 +0000
with message-id <[email protected]>
and subject line Bug#569564: fixed in python-django 1.1.1-5
has caused the Debian Bug report #569564,
regarding python-django: database constraint identifiers are not quoted, 
causing case inconsistancies
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
569564: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=569564
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-django
Version: 1.1.1-3
Severity: normal
Tags: patch

Running "python manage.py sqlclear" generates unquoted DROP CONTSTRAINT 
identifiers. These are quoted during creation, making them case sensitive. 
Running the sql unquoted, means the databases treat it as case-insensitive, 
so it fails.

i.e. currently this is generated:

ALTER TABLE "myappname_mymodel" DROP CONSTRAINT caseSensitiveConstraintNamye;

It should be:
ALTER TABLE "myappname_mymodel" DROP CONSTRAINT "caseSensitiveConstraintNamye";

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-django depends on:
ii  python                        2.5.4-9    An interactive high-level object-o
ii  python-support                1.0.6      automated rebuilding support for P

python-django recommends no packages.

Versions of packages python-django suggests:
pn  python-flup                   <none>     (no description available)
pn  python-mysqldb                <none>     (no description available)
pn  python-psycopg                <none>     (no description available)
ii  python-psycopg2               2.0.7-4    Python module for PostgreSQL
pn  python-sqlite                 <none>     (no description available)

-- no debconf information
Index: django/db/backends/creation.py
===================================================================
--- a/django/db/backends/creation.py	(revision 12416)
+++ b/django/db/backends/creation.py	(working copy)
@@ -300,7 +300,7 @@
                 (style.SQL_KEYWORD('ALTER TABLE'),
                 style.SQL_TABLE(qn(table)),
                 style.SQL_KEYWORD(self.connection.ops.drop_foreignkey_sql()),
-                style.SQL_FIELD(truncate_name(r_name, self.connection.ops.max_name_length()))))
+                style.SQL_FIELD(self.connection.ops.quote_name(truncate_name(r_name, self.connection.ops.max_name_length())))))
         del references_to_delete[model]
         return output
 

--- End Message ---
--- Begin Message ---
Source: python-django
Source-Version: 1.1.1-5

We believe that the bug you reported is fixed in the latest version of
python-django, which is due to be installed in the Debian FTP archive:

python-django-doc_1.1.1-5_all.deb
  to main/p/python-django/python-django-doc_1.1.1-5_all.deb
python-django_1.1.1-5.debian.tar.gz
  to main/p/python-django/python-django_1.1.1-5.debian.tar.gz
python-django_1.1.1-5.dsc
  to main/p/python-django/python-django_1.1.1-5.dsc
python-django_1.1.1-5_all.deb
  to main/p/python-django/python-django_1.1.1-5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <[email protected]> (supplier of updated python-django package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 06 Apr 2010 22:22:56 +0100
Source: python-django
Binary: python-django python-django-doc
Architecture: source all
Version: 1.1.1-5
Distribution: unstable
Urgency: low
Maintainer: Chris Lamb <[email protected]>
Changed-By: Chris Lamb <[email protected]>
Description: 
 python-django - High-level Python web development framework
 python-django-doc - High-level Python web development framework (documentation)
Closes: 569564
Changes: 
 python-django (1.1.1-5) unstable; urgency=low
 .
   * Apply patch from upstream VCS to fix unquoted DROP CONSTRAINT identifiers
     when using "./manage.py sqlclear". (Closes: #569564)
Checksums-Sha1: 
 b4df91ff8523d6e826bda3967718add15ac759ce 1486 python-django_1.1.1-5.dsc
 42f77ba31016bda1f80f963eb08a7c7f1fea3010 40806 
python-django_1.1.1-5.debian.tar.gz
 8bdc2cf0d9019eef861712be403cd7940395c06a 3824564 python-django_1.1.1-5_all.deb
 19673de846c3d2a91111f8f4afcca9c0f6395566 1531704 
python-django-doc_1.1.1-5_all.deb
Checksums-Sha256: 
 b11555b384677e3dfcf54245219a7eb20f5b184df57e4b1631b37fffbe7a8b38 1486 
python-django_1.1.1-5.dsc
 e40f079506d2d6ae5ef7cf782e7850bce787f9850b18308e085381f073970e68 40806 
python-django_1.1.1-5.debian.tar.gz
 575524743fa5ada1284f4dff8179c42ab637d6ece1ca13b3ba16ff3fc536e2f3 3824564 
python-django_1.1.1-5_all.deb
 b665f5dfd10e1e6382057b6981fc9d48fd8611b081c6467fd2f7b2fe7c0a67ec 1531704 
python-django-doc_1.1.1-5_all.deb
Files: 
 72184c6355e6eb6eb676ced4ce5c84a0 1486 python optional python-django_1.1.1-5.dsc
 ae5ddbdaed2f17b751377b7f7654232d 40806 python optional 
python-django_1.1.1-5.debian.tar.gz
 811f8a6733a439f58970645d44c28819 3824564 python optional 
python-django_1.1.1-5_all.deb
 8cb45447c7cd9133f118389ac78a3069 1531704 doc optional 
python-django-doc_1.1.1-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAku7p+AACgkQ5/8uW2NPmiB5WwCcDqzFFScXTkLB7wVggr74LJHZ
KgAAoJVNrV6DXzkQiUa/jDiM1fakxnoz
=ujET
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to