Closed (fixed)
Project:
Pathauto
Version:
6.x-1.5
Component:
Bulk generation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2011 at 23:32 UTC
Updated:
20 Sep 2011 at 21:29 UTC
When trying to do a bulk import on a site with ~500 nodes. Setting bulk update to 100 at a time results in aliases being generated for the first 100, then on the next bulk update, the same aliases are re-aliased, as opposed to the next 100 being aliased. The only way to get all my nodes aliased seems to be to set the number greater than the number of nodes.
Comments
Comment #1
gregglesThat's not how it's designed to work. Can you clarify which bulk generation tool you are using?
Comment #2
bverc commentedI am using the bulk update node tool on /admin/build/path/pathauto
I tick the box labeled: "Bulk generate aliases for nodes that are not aliased" (desc: "Generate aliases for all existing nodes which do not already have aliases.") under Node paths.
After removing all node aliases, and running for the first time, it creates x amount of aliases where x is set under general Settings as "Maximum number of objects to alias in a bulk update".
Yet when I run a second time, it re-aliases the same x nodes instead of the next x un-aliased nodes. As per the tickbox, it should for "Generate aliases for all existing nodes which do not already have aliases."
So either this is a bug, or the description of this tickbox is incorrect.
Comment #3
vacilando commentedAs @roborat says, "either this is a bug, or the description of this tickbox is incorrect".
Comment #4
amateescu commentedThis may be a duplicate of #991986: Fix bulk generation queries which was fixed in 6.x-1.x-dev: http://drupalcode.org/project/pathauto.git/commit/72d5995e84d4ba6d31e082...
Can you try with 6.x-1.x-dev or 6.x-2.0-rc2?
Comment #5
bverc commentedSeems to have been fixed in version 6.x-2.0.