Why is the taxonomy breadcrumb path limited to only 128 characters? I'm trying to do a French site and those Frenchies sure like to write everything long, so I've got lots of paths that go over the 128 limit. I forked the module to accept over 128 chars for the form and for the database, but just wondering why the limit is that?

Comments

_craig’s picture

Status: Active » Closed (works as designed)

The table url_alias in drupal core (path module) has a 128 character limit. This module is consistent with that. If you use url aliases you may find you need patch core as well.

tormu’s picture

Title: why the 128 char limit? » why the 64 char limit on the form?

Hmm actually I got it wrong - The database has 128 char limit and that's allright, but on the taxonomy_breadcrumb_form_alter-function there's "'#maxlength' => 64"
That sets the char limit on the form to 64, so though the database could take 128 characters, the form doesn't let the user to type more than 64, which is not enough.

tormu’s picture

Status: Closed (works as designed) » Active

just changing the status, I don't see why the limit is 64 though it's 128 on the database..

_craig’s picture

Status: Active » Closed (duplicate)

Ah. See, http://drupal.org/node/103322. Your problem has already been solved. Please test it out and let me know if it works.

Thanks,
Craig

tormu’s picture

Yep, indeed it's the same problem, and that's how I fixed it also, just wanted to know if there's some particular reason for setting it to 64, as I think 128 is the default if nothing is set. Please include this 64 -> 128 on the 4.7 release also ;)

Thanks!