[drupal-devel] [bug] [pgsql] location field in locales_source is the wrong field type.,

killes drupal-devel at drupal.org
Sun Mar 13 20:32:01 UTC 2005


Issue status update for http://drupal.org/node/11689

 Project:      Drupal
-Version:      4.5.0
+Version:      cvs
-Component:    postgresql database
+Component:    locale.module
 Category:     bug reports
 Priority:     normal
-Assigned to:  adrian
+Assigned to:  killes at www.drop.org
 Reported by:  adrian
 Updated by:   killes at www.drop.org
 Status:       patch
 Attachment:   http://drupal.org/files/issues/locale-inc.patch (739 bytes)

How about this?


killes at www.drop.org



Previous comments:
------------------------------------------------------------------------

October 18, 2004 - 17:13 : adrian

Attachment: http://drupal.org/files/issues/pgsql_locales_fix.diff (2.09 KB)

here's the patch


------------------------------------------------------------------------

October 18, 2004 - 17:39 : killes at www.drop.org

The patch should not be neccessary becuase the location field is pruned
to contain 128 chars. But - at least for pgsql- it doesn#t hurt either.


------------------------------------------------------------------------

October 18, 2004 - 17:57 : adrian

here is an updated patch, which fixes the problem with too many unique
restraints on locales_target.


------------------------------------------------------------------------

October 18, 2004 - 17:59 : adrian

Attachment: http://drupal.org/files/issues/pgsql_taxo_bug_0.diff (1.96 KB)

err. here is the patch.


------------------------------------------------------------------------

October 18, 2004 - 19:17 : adrian

Attachment: http://drupal.org/files/issues/pgsql_locales_fix_0.diff (2.64 KB)

here is a corrected patch, it contained some cruft fromt he taxonomy
patch i made earlier


------------------------------------------------------------------------

October 18, 2004 - 20:53 : Goba

Killes, the 128 char check is improperly implemented (the length is
checked before a new substring of unknown length is added), so that
check needs to be fixed in the first place.


------------------------------------------------------------------------

October 18, 2004 - 20:55 : Goba

Killes, the 128 char check is improperly implemented (the length is
checked before a new substring of unknown length is added), so that
check needs to be fixed in the first place.





More information about the drupal-devel mailing list