Support from Acquia helps fund testing for Drupal Acquia logo

Comments

boyan.borisov’s picture

Status: Active » Needs review
FileSize
704 bytes

Please find a patch the set a maxlength to 2048 for path field.

Dave Reid’s picture

Status: Needs review » Needs work

This won't work unless you also change the table schema for the path field. It's currently a VARCHAR(255) field.

boyan.borisov’s picture

Status: Needs work » Needs review
FileSize
1.28 KB

sorry, I've missed that. I made a new one that updates the table.

Status: Needs review » Needs work

The last submitted patch, more_characters_in_the_path_field-2074355-2.patch, failed testing.

boyan.borisov’s picture

Status: Needs work » Needs review
FileSize
1.64 KB

I forgot to merge the two patches at one

boyan.borisov’s picture

The update hook id was duplicated.

MiroslavBanov’s picture

Chase head.

Status: Needs review » Needs work

The last submitted patch, 7: more_characters_in_the_path_field-2074355-7.patch, failed testing.

MiroslavBanov’s picture

DamienMcKenna’s picture

Status: Needs review » Needs work

An update script would be needed to avoid causing problems the next time someone submitted a long link on an existing site.

MiroslavBanov’s picture

Chasing head.

MiroslavBanov’s picture

Status: Needs work » Needs review
FileSize
1.3 KB

Here is the same patch with update hook.

DamienMcKenna’s picture

Status: Needs review » Closed (won't fix)

The {menu_router}.path and {url_alias}.path columns are also set to 255 chars, so I'm not going to make this change in case it leads to other problems. That said, feel free to use hook_schema_alter() to make the modification yourself.