Skip to content

Headless view not showing for the canonical page #857

@boazpoolman

Description

@boazpoolman

Package containing the bug

next (Drupal module)

Describe the bug

I'm trying to use the Route Syncing feature, but I noticed that only the node revisions will get the Next.js headless view.

Expected behavior

I would expect that also the canonical page - aka the current revision - get's the headless view.

Steps to reproduce:

  1. Start a fresh Drupal 11 project
  2. Follow the installation guide for setting up next-drupal
  3. Add a front-end site on /admin/config/services/next
  4. Add an entity type on /admin/config/services/next/entity-types
  5. Configure draft mode for that entity type with the site resolver plugin and select your newly created frontend site
  6. Create a piece of content of that entity type
  7. Go to the "View" tab
  8. See that there is no headless view

Additional context

Add any other context about the problem here.

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