With the use of modules that set a custom uri callback the URLs are not correctly built. Instead of manually building the path with the switch statement for entity type the module should check the entity type and then call entity_uri to get the path.

I don't have the time to verify my edits don't have other adverse effects yet once I do I will see if I can submit a patch but it might be a while if someone else wants to tackle these changes.

Comments

azinck’s picture

Issue summary: View changes
Status: Active » Fixed

Committed a fix for this to dev.

Status: Fixed » Closed (fixed)

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