Skip to content

NextEntityTypeConfig is not deleted when its correspond entity type is deleted. #282

Open
@jrockowitz

Description

@jrockowitz

Steps to reproduce

  • Create a plain vanilla standard instance of Drupal with the Article content type.
  • Install the Next.js module
  • Configure Next.js Entity Type for Content: Article (node.article) - /admin/config/services/next/entity-types/add
  • Delete the Article content type - /admin/structure/types/manage/article/delete
  • View 'Next.js entity types' page - /admin/config/services/next/entity-types
  • Confirm that Warning: Undefined array key "article" in Drupal\next\NextEntityTypeConfigListBuilder->buildRow() is displayed or logged.

Thoughts/Notes

  • The Next.js Entity Type config file has no dependencies listed.
  • Adding the '{entity_type_id}.{bundle}' as a dependency might fix the issue.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions