Active
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jun 2012 at 21:17 UTC
Updated:
22 Jun 2012 at 21:31 UTC
1) Disable pathauto (Never seen this with pathauto enabled, so it may be bypassing the path_redirect_nodeapi logic that causes this, or just wasn't unlucky before.)
2) Create a node with path 'one'
3) Edit node to path 'two'
4) Edit node to path 'one'
5) Edit node to path 'three'
=> Duplicate entry for path one, as it successfully saved a redirect for 'one' after step 3, then tries and resaves it it in 5 without checking if it exists.
Solution: see if entry already exists before saving.
Comments
Comment #1
merauluka commentedI confirm this error is occurring on my site as well.