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]: js error when removing category tree #11641

Closed
WHITE-developer opened this issue Jul 20, 2022 · 2 comments
Closed

[4.x]: js error when removing category tree #11641

WHITE-developer opened this issue Jul 20, 2022 · 2 comments

Comments

@WHITE-developer
Copy link

What happened?

Description

Js error at BaseElementSelectInput.js:441:10

Steps to reproduce

  1. Have a (matrix) field with a category selector
  2. Add a multilevel category
  3. Remove the level 1 category so the other levels get removed too
  4. Js error

Expected behavior

No error ;) and just do the autosave

Actual behavior

After the js error, autosaving stops working

Craft CMS version

4.1.4.1

PHP version

8.1

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

No response

@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed now for the next Craft 3 and 4 releases.

@brandonkelly
Copy link
Member

Craft 3.7.49 and 4.2.0 are out now with this 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