Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Oct 2010 at 13:29 UTC
Updated:
6 Dec 2010 at 01:00 UTC
With the new machine name element, machine names cannot be changed any more, except for:
// Append a link to edit the machine name, if it is editable, and only if
// one of the following conditions is met:
// - the machine name is empty.
// - the human-readable name is equal to the existing machine name.
if (!$target.is(':disabled') && ($target.val() == '' || $target.val() == machine)) {
This "article" can be re-named, but "page/basic page" not. I do not think that makes much sense!?
Comments
Comment #1
fagoremark: Perhaps machine names shouldn't be changeable, but that's another issue. Afaik machine names are still supposed to be changeable, thus this is a bug.
Comment #2
klausiWow, this is weird. Here is a nice workaround: change the label (the source) to match the machine name and save. On the next edit you should be able to change the machine name again.
Comment #3
threewestwinds commentedI just got bitten by this bug while testing http://drupal.org/node/976758 - it's still present in the latest dev, and quite annoying. I'll try to write a patch later tonight.
Comment #4
David_Rothstein commentedDid this wind up getting fixed by the committed patch at #976758: existing machine names are changed when human readable name is changed (e.g. node type, vocabulary)?
I think it did.
Comment #5
klausiYep, looks good.