Skip to content

New nodes do not revalidate the new path alias #843

Open
@pookmish

Description

@pookmish

Package containing the bug

I’m not sure

Describe the bug

When pathauto is configured and a node is created, the revalidator plugin only attempts to invalidate the /node/## path. It does not revalidate the new path alias generated.

Expected behavior

Revalidation should be executed with the new path alias.

Steps to reproduce:

  1. Fresh install with standard profile using 2.0.0 module version
  2. configure a path alias pattern for something simple like [node:title]
  3. configure a simple next site and entity type revalidation, configured to revalidate the page's path.
  4. Enable debug mode
  5. create a new node
  6. review watchdog logs
  7. observe the debug log for the /node/# path, but not the new path alias pattern.

Additional context

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions