Active
Project:
Pathauto Conditions UI
Version:
1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2026 at 10:38 UTC
Updated:
26 Jun 2026 at 10:38 UTC
Jump to comment: Most recent
The edit form loads an existing condition, but the shared submit handler saves it with `$pattern->addSelectionCondition($condition->getConfiguration())`. Pathauto's `addSelectionCondition()` always generates a new UUID, so saving an edit creates another condition instead of replacing the existing condition.


The condition is updated in place.
A duplicate condition appears — two entries now exist instead of one updated one.
In the edit flow, update the existing condition instance/configuration instead of calling `addSelectionCondition()`, or remove the old condition ID before adding the updated configuration.
| Comment | File | Size | Author |
|---|---|---|---|
| issue-2.png | 62.29 KB | dkmishra | |
| issue-1.png | 38.57 KB | dkmishra |
Comments