Drupal 7, freshly installed, only core modules and Menu token enabled.

To reproduce:

  1. Enable Menu token module.
  2. Create a menu link with path '[current-page:url:path]' (without the quotes).
  3. Save, then try to edit or delete that menu item.

Output:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mydomain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

Comments

bryancasler’s picture

subscribe

dealancer’s picture

Status: Active » Closed (cannot reproduce)

It's ok for me for recent dev version. Menu Token module works the same way with any token. The problem could be in other module or some specific configuration. Make sure Token module is recent too.

I can't reproduce it so closing this issue.

enapoleone’s picture

I am getting the same problem. I can't even delete the menu items exhibiting the issues.

Did you have any luck getting it to wrok?

mesr01’s picture

Sorry @enapoleone, I ended up using a different approach, so I don't have (yet) a fix or workaround for this problem.

Yuri’s picture

Priority: Major » Critical

I confirm that this is still an unsolved issue, menu items using tokens cannot be deleted or edited (although in my case it does not throw an error)
Using latest Token dev version in D7.8
It does not help to leave this issue closed for solving it and collecting additional information. Setting to active.

Yuri’s picture

Status: Closed (cannot reproduce) » Active
dealancer’s picture

Priority: Critical » Major

Confirm, issue exists. Looks like it is been entered in infinite loop.

dealancer’s picture

Priority: Major » Normal
Issue tags: +Entering in infinite loop when using [current-page:url:path] token

It happens only for [current-page:url:path] token. And I think issue is not major. cause [current-page:url:path] used not very often.

DevElCuy’s picture

Version: 7.x-1.0-alpha2 » 7.x-1.x-dev
Status: Active » Fixed

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

Sigvard’s picture

This still happens running Menu Tokens 7.x-1.0-beta5 on Drupal 7.34.

I used the [current-page:url:args] token with the exact same result.

Disabling the module solves the issues but the issue returns when the module is re-enabled (even if first uninstalled).

corentin.crouvisier’s picture

Issue summary: View changes

subscribe