Posted by havran on September 26, 2007 at 1:03pm
Jump to:
| Project: | Drupal core |
| Version: | 7.x-dev |
| Component: | path.module |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
In path.module in function path_form() in field 'dst' is set #maxlenght characters limit to 64 but in database is possible set 128 character path alias...
$form['dst'] = array(
'#type' => 'textfield',
'#default_value' => $edit['dst'],
'#maxlength' => 64, // HERE
'#size' => 45,
'#description' => t('Specify an alternative path by which this data can be accessed. For example, type "about" when writing an about page. Use a
'#field_prefix' => url(NULL, NULL, NULL, TRUE) . (variable_get('clean_url', 0) ? '' : '?q=')
);
Comments
#1
Hi. I'm using latest version - Drupal 5.5 and i have recently noticed this bug too. So someone should fix it.
#2
This is no bug, as the inconsistency poses no problem. Rather it is a feature request, one that in fact applies to D6 as well.
I would second enlarging the allowed path length to 128, but we need to make sure this is consistent.
No idea, if this has a chance to get into D6 though.
#3
Moving to D7 queue.
#4
This has been fixed in HEAD and D6.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.