In the vertical tabs of node edit form, disabling 'Generate automatic URL alias' is not preserved when the node is saved.

Unchecking 'Generate automatic URL alias' locks up the 'URL alias' field. The field becomes unclickable/uneditable: it is impossible to create a custom alias. This behavior is the opposite of what it is in Drupal 6 (field is locked unless 'Generate automatic URL alias' is unchecked - this is the proper behavior).

- Drupal 7.14
- Pathauto 7.x-1.0
- Internationalization 7.x-1.5
- Multilingual support is Enabled with translation on most content types.

Files: 
CommentFileSizeAuthor
#2 pathauto-custom-alias-1576692-3.patch650 bytesjtti
PASSED: [[SimpleTest]]: [MySQL] 316 pass(es).
[ View ]

Comments

I am seeing this on version 7.x-1.1.

Version:7.x-1.0» 7.x-1.1
Assigned:Unassigned» jtti
Status:Active» Needs review
StatusFileSize
new650 bytes
PASSED: [[SimpleTest]]: [MySQL] 316 pass(es).
[ View ]

And here is a patch.

Status:Needs review» Needs work

That logic is incorrect unless we have a bug in the Javascript states system. The patch would be changing the logic to say if the checkbox is checked, then the field should be enabled, which is not the desired behavior.

Yeah I understand that the logic is backwards, but that patch does make enabling / disabling the textbox function properly (at least on my site).

Status:Needs work» Closed (fixed)

May be this has now been fixed in 7.x-1.2 release. I did not find any such issue. Report if otherwise.

I had this issue. 7.x-1.2
thx for post #2

Also having this issue with 7.x-1.2. Tried with the latest dev (7.x-1.2+13-dev), same problem. The patch above doesn't seem to help/work.

For example, in the node/edit form, when I try to uncheck 'Generate automatic URL alias ' and manually set the alias, the new alias config appears not to be saved.

SOLUTION - at admin/config/search/path, I searched and found the original alias (company) as well as the new one I was trying to save (about-us/company). Deleting the unwanted alias solved my problem. Now my node is properly aliased as about-us/company.