When a token becomes out-dated by upgrade, then silently pathauto stops working. When in a hurry, you might not see that the URL is not aliased according to the pattern (any longer). At second edit attempt you might discover that the "Generate automatic URL alias" was unset, so you set it and again no alias is generated.

It would be nice now when the same warning that notifies the error in the Pattern setting will also appear when you create or edit an entity and ideally it would include a link to the pattern settings page.

Comments

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not quite sure what this is asking for. Could you maybe give some real examples of how you would think this would work?

ñull’s picture

I'll try to explain it in steps, because I don't like to reproduce the same error in the pattern settings in a production environment, nor do I want to go through the upgrade again.

  1. Through some upgrade some token got outdated and disappeared from the scene.
  2. The alias pattern settings are now invalid and pathauto stops working.
  3. Nodes are added and no new aliases are automatically created.
  4. User either notices this or not, because there are no specific error message.

Desired are "Invalid pattern settings. Pathauto deactived"  warnings:

  1. in Watchdog
  2. in Status page
  3. at node save when because of this "Generate automatic URL alias" fails.
  4. in other instances where the "Generate automatic URL alias" is happening