- Issue created by @ksenzee
- Merge request !9Issue #3484487: Prevent pathauto from creating aliases for newly split-off entities. → (Open) created by ksenzee
When I try splitting off a translation of a node type that has a pathauto pattern, I find that the newly created node gets a path alias created by pathauto according to its pattern, instead of the alias it should be getting. It looks like during Node::create() for the new node (line 105 of SoftTranslationsSplitTranslationsForm.php), pathauto steps in and sets the $new_entity->path->pathauto property to PathautoState::CREATE because it sees there’s a matching pattern.
Check for the existence of pathauto, and add a pathauto property to the path array specifying that pathauto should leave this one alone.
Active
1.0
Code