setting dst in url_alias table to 255 length
Hi there, I know it's bad practice but would there be any major implications (in e.g. updates) if I change the dst length in url_alias to 255 in stead of 128 ? My use case is that I have a bunch of aliassen based on menu_path (a product catalogue) and with the catalogue going up to 4 levels down the paths can get long (longer then 128). I know about this patch (http://drupal.org/node/288946), just want to figure out if this is "common" practice or a big nono. Tnx, Hans
Hans Langouche wrote:
Hi there,
I know it's bad practice but would there be any major implications (in e.g. updates) if I change the dst length in url_alias to 255 in stead of 128 ?
My use case is that I have a bunch of aliassen based on menu_path (a product catalogue) and with the catalogue going up to 4 levels down the paths can get long (longer then 128). I know about this patch (http://drupal.org/node/288946), just want to figure out if this is "common" practice or a big nono.
Your safety in doing this depends on you and your successors. It will only affect you if there is a core change to the column in the database. So if you keep track of the changes via a VCS such as git, then you can compare as you need to. -- Earnie -- http://progw.com -- http://www.for-my-kids.com
participants (2)
-
Earnie Boyd -
Hans Langouche