Hi,

You get a "page not found" error if you try to add a new component to a Webform.

How to replicate:
1) Enable Path Alias Xt
2) Create a new Webform
3) Add a new Component

This should result in a "Page not found" error.
It seems that the Webforms module doesn't work with the new path alias.

If in path_alias_xt_url_outbound_alter() we exclude path lookups for any path which contains "webform/components"
the issue goes away.

eg.:

      if(strpos($matches[3], 'webform/components') === FALSE){
        if ($alias = drupal_lookup_path('alias', "$matches[1]/$matches[2]")) {
          $path = "$alias/$matches[3]";
        }
      }

I hope this helps debug this issue and create a fix.
Thank you for your work on this module, it is supper helpful.

Comments

Gergely Varga created an issue.