Making a posting whose pathauto would be very long causes an error message to print.

For example, while entering this posting:
http://7gen.com/electric-fuel-cell-and-alternative-fuel-vehicles/using-e...

I got, on pressing SUBMIT, an error about a failure to do something or other in common.inc. I didn't write down the message.

However, I looked at the url_alias table, noted the src and dst fields were only 128 characters, bumped them to 255 characters, redid the SUBMIT and it worked fine.

Using pathauto is gonna lead people to having long URL's. Hence, the relatively short URL's in url_alias and perhaps elsewhere will get in the way.

Comments

mikeryan’s picture

Project: Pathauto » Drupal core
Version: 4.6.x-1.x-dev » 4.6.0
Component: Code » path.module
Category: bug » feature

url_alias is a core Drupal table, maintained by the path module. I'm reassigning this (although I'll also open a pathauto issue to offer an option to restrict the generated path length - I'm not sure aliases beyond 128 characters are really very useful).

reikiman’s picture

Didn't Bill Gates once say something like that about the amount of memory a personal computer should have?

Question, if you're not going to fix it then why leave the issue open?

I do tend to agree that long URL's are rather unwieldy. I like pathauto because the URL's are search-engine-friendly. However the really long ones just became difficult to use all the way around. So I redid my pathauto config so the size of the aliases it generates are more bounded. Hence, I agree it's not worth fixing.

Except ... limits always bug me, and this is a limit that's easy to at least make less of a limit.

magico’s picture

Status: Active » Closed (fixed)

Following the close of Restrict generated path length.