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

fago’s picture

remark: 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.

klausi’s picture

Wow, 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.

threewestwinds’s picture

I 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.

David_Rothstein’s picture

Did 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.

klausi’s picture

Status: Active » Fixed

Yep, looks good.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.