I have this strange behaviour.

A user can edit his profile on this urls:

user/1/edit/profile
user/1/profile/profile

Both of them are working.

I'm using the module auto_nodetitle to create a title from the firstname / lastname tokens.

And now the bug:
If the user save his profile under
user/1/edit/profile

the tokens are not available and the nodetitle will look like this:
[field_firstname-raw] [field_lastname-raw]

If I save the profile under
user/1/profile/profile
Everything works as expected.

Comments

fengtan’s picture

I made a fresh install but user/1/edit/profile does not exist (404 error), even when I enable auto_nodetitle.module

Which module enables this path on your site ? You may find it by placing the attached script in a file temp.php at the root of your Drupal installation and browse http://yoursite.com/temp.php

<?php
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

print '<pre>';
foreach (module_list() as $module) {
  if (module_implements('menu')) {
    print "$module.module :<br/>";
	print_r(array_keys(module_invoke($module, 'menu')));
  }
}
?>
fago’s picture

Status: Active » Postponed (maintainer needs more info)

Do the tokens work if you create a new profile node via node/add ?