Skip to content

[5.6.12]: Maintain hierarchy setting broken for new entries #16925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thupsi opened this issue Mar 19, 2025 · 1 comment
Closed

[5.6.12]: Maintain hierarchy setting broken for new entries #16925

thupsi opened this issue Mar 19, 2025 · 1 comment
Labels

Comments

@thupsi
Copy link

thupsi commented Mar 19, 2025

What happened?

Description

I have a categories field with the setting maintain hierarchy enabled. Since upgrading to 5.6.12, on entry creation the field is populated with all categories from the selected category group.

Even worse, when, for testing purposes, I changed the field type to an entries field it seemingly tried to populate with all the entries. I say 'seemingly' because the entry form then crashed.

Steps to reproduce

  1. Have an categories or entries field in your entry layout, with maintain hierarchy enabled.
  2. Create a new entry.

Expected behavior

The field should be empty.

Actual behavior

The field is populated with many categories/entries.

Craft CMS version

5.6.12

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting! This was also fixed by the #16920 fix in Craft 5.6.13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants