Paths lost on feature revert, or when transferring feature to another site
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #1872622. -->
Reported by: [mrfelton](https://www.drupal.org/user/305669)
>>>
<p>I think the problem here is that you are using path aliases, and then trying to export these to features, but the export code looks like this:</p>
<pre> "paths" : {<br> "submit" : {<br> "pid" : "48026",<br> "source" : "eform\\/submit\\/cw-contact",<br> "alias" : "contact",<br> "language" : "und"<br> },<br> "confirm" : {<br> "pid" : "48027",<br> "source" : "eform\\/cw-contact\\/confirm",<br> "alias" : "contact\\/confirm",<br> "language" : "und"<br> }<br> }</pre><p>Which contains the 'pid' (unique id) of the alias, but the pid is not guaranteed to be consistant acros sites as it is just an incrementing number and not a machine name. It is incredibly unlikely that 2 different sites would share the same pid for a single alias, and so when you export try to revert the feature on a site where the pid for the alias is different, the entityform just looses its alias all together.</p>
<p>Also related <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/uuid_features/issues/982818" title="Status: Closed (fixed)">#982818: Make it possible to export URL aliases</a></span></p>
issue