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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

samuel.mortenson created an issue. See original summary.

samuel.mortenson’s picture

Status: Active » Needs review
FileSize
6.78 KB
samuel.mortenson’s picture

FileSize
8.62 KB
2.4 KB

The content indexer needed updated too, but when using pathauto this can result in a ton of duplicate aliases...super frustrating to deal with.

samuel.mortenson’s picture

FileSize
12.7 KB
4.4 KB

This 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.

samuel.mortenson’s picture

FileSize
12.45 KB
171 bytes
samuel.mortenson’s picture

Status: Needs review » Fixed

  • samuel.mortenson authored d87b10c on 8.x-1.x
    Issue #3109506 by samuel.mortenson: Export for path alias entities uses...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.