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

Root taxons with at least a child are not valid #5187

Closed
elia opened this issue Jun 27, 2023 · 0 comments · Fixed by #5189 or #5190
Closed

Root taxons with at least a child are not valid #5187

elia opened this issue Jun 27, 2023 · 0 comments · Fixed by #5189 or #5190
Assignees
Labels
type:bug Error, flaw or fault

Comments

@elia
Copy link
Member

elia commented Jun 27, 2023

Solidus Version:
v4

To Reproduce

  • Create a taxonomy
  • Create a taxon with taxonomy.root as its parent
  • Check taxonomy.root.valid?

Current behavior

It returns false

Expected behavior

Should return true

Additional context

Looks like creating products with associated taxons having those conditions might trigger that validation in some cases.

cc @filippoliverani

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error, flaw or fault
Projects
None yet
1 participant