Skip to content
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

[4.x]: entrify/categories command discards disabled categories #12945

Closed
dlindberg opened this issue Mar 21, 2023 · 1 comment
Closed

[4.x]: entrify/categories command discards disabled categories #12945

dlindberg opened this issue Mar 21, 2023 · 1 comment

Comments

@dlindberg
Copy link

What happened?

Description

Running entrify/categories does not migrate categories that are not enabled at the time of the transfer

Steps to reproduce

  1. Create a Category in a category structure that is disabled.
  2. Update to Craft 4.4 (category structure is flattened by this update?)
  3. run craft entrify/categories on a category with disabled categories
  4. Anything disabled will disappear

Expected behavior

Categories, even if disabled, will be transferred and their enabled / disabled state will be retained.

Actual behavior

Disabled categories are deleted.

Craft CMS version

Moving from 4.3.x to 4.4.x

PHP version

8.1

Operating system and version

No response

Database type and version

mysql

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting that! Just released Craft 4.4.5 with a fix.

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

No branches or pull requests

2 participants