Skip to content

Handle misconfigured post types #795

Description

@paulrobertlloyd

Description of the bug

If a configuration file contains a partial definition for a post type, it appears as a post type you can use, but the form to create a post may not provide any fields you can use.

Form to create a new test post, but without any fields shown.

Steps to reproduce

Add a partial post type definition to a configuration, e.g.

postTypes: {
  test: {
    name: "Test",
  }
}

Expected behaviour

Either not show the misconfigured post type, or better still, provide some kind of feedback to the user that the post type is mis-configured (maybe even mentioning what values are missing).

Activity

  1. changed the title [-]Don’t show unconfigured post types[/-] [+]Don’t show misconfigured post types[/+] on Sep 21, 2025
  2. changed the title [-]Don’t show misconfigured post types[/-] [+]Handle misconfigured post types[/+] on Sep 21, 2025
  3. added 2 commits that reference this issue on Dec 24, 2025
    36e32ce
    e7be053
  4. added a commit that references this issue on Dec 24, 2025
    3e58b87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions