[drupal-devel] [bug] Field location in table locales_source is too short

patryk drupal-devel at drupal.org
Thu Apr 28 20:44:26 UTC 2005


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

 Project:      Drupal
 Version:      cvs
-Component:    postgresql database
+Component:    database system
 Category:     bug reports
 Priority:     normal
 Assigned to:  patryk
 Reported by:  patryk
 Updated by:   patryk
 Status:       patch
 Attachment:   http://drupal.org/files/issues/drupal-cvs-pgsql-locales_field_type_v2-fix.diff (686 bytes)

Hmm... maybe you're right. I came accross a polish language pack which
had 177 characters in that field, it could easily have more, but I
think 256 will be good for now.


The field in watchdog is not revelant to this bug as it handles the
filename of event occured and can contain only one location, unlike
many as here.


The new patch attached and bug details changed.




patryk



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

April 25, 2005 - 03:45 : patryk

Attachment: http://drupal.org/files/issues/drupal-cvs-pgsql-locales_field_type-fix.diff (317 bytes)

Field "location" in table "locales_source" is too short. The patch makes
it limitless.




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

April 25, 2005 - 19:55 : Dries

There is a similar location-row in the watchdog table.


The MySQL database scheme also uses varchar(128) so it is not specific
to PostgreSQL.


I wouldn't recommend making it limitless.  Maybe 255 is more sensible?







More information about the drupal-devel mailing list