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.
Path alias exports currently look like this when aliasing an entity path:
{
"uuid": [
{
"value": "3f6a056e-4904-4ae0-8ab5-939cedc93705"
}
],
"langcode": [
{
"value": "en"
}
],
"path": [
{
"value": "\/node\/16"
}
],
"alias": [
{
"value": "\/blog\/static-searches-drupal-and-lunr"
}
],
"status": [
{
"value": true
}
]
}
But the path should be something more like "/node/UUID" instead, to ensure future builds are accurate and to prevent Git merge conflicts.
Comment | File | Size | Author |
---|---|---|---|
#5 | interdiff-3109506-4-5.txt | 171 bytes | samuel.mortenson |
#5 | 3109506-5.patch | 12.45 KB | samuel.mortenson |
|
Comments
Comment #2
samuel.mortensonComment #3
samuel.mortensonThe content indexer needed updated too, but when using pathauto this can result in a ton of duplicate aliases...super frustrating to deal with.
Comment #4
samuel.mortensonThis should help, now pathauto is completely suppressed during the install process. In the worst case existing users will have to re-generate aliases or re-export content, but this avoids so much weirdness.
Comment #5
samuel.mortensonComment #6
samuel.mortenson