Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want an option in bulk generation to also generate aliases for content that already has aliases. I’ve included a patch that solves the issue for me. It adds a checkbox to the bulk generate form. This is useful if you change a pattern and have selected "Create a new alias. Leave the existing alias functioning."
Comment | File | Size | Author |
---|---|---|---|
add-force-new-option-to-bulk-generate.patch | 3.7 KB | jeanfredrik | |
Comments
Comment #2
BerdirThe feature makes a lot of sense, we have existing issues where this was discussed as well.
I think in this case, we can skip the join completely, that should make the query also a bit faster? or more than a bit, considering the join condition.
Also, tests. We have existing bulk generate tests, we could for example change the pattern and force a re-generation to make sure it works after the existing tests.
Comment #3
BerdirComment #4
LpSolit CreditAttribution: LpSolit as a volunteer commentedThis is already fixed in issue #2678558.