The pathrevisions_install() does not check if the nid, vid has been inserted already. This causes the install to fail when it tries to insert the same key (nid, vid). The url_alias table can have multiple path aliases for a given node.
Fix: the install should insert the latest found for a given nid and vid.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | pathrevisions-fix-duplicate-entry-install-2263095-1.patch | 1.21 KB | recrit |
Comments
Comment #1
recrit commentedthe attached patch adds a sort to the url_alias query and an array to track the processed keys.
Comment #3
cafuego commentedPatched (eventually), thank you :-)