You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have Cannot set child as parent to node: ... exception if we're trying to set current taxon as parent on taxon update.
Possible solution:
Create special endpoint like /admin/ajax/taxons/<ID>/parent/search (new route like sylius_admin_ajax_taxon_parent_by_name_phrase), which will exclude current and child taxons from search
Add validator which will check submitted parent taxon is not current one and not one of childs
This issue has been automatically marked as stale because it has not had any recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
stalebot
added
the
Stale
Issues and PRs with no recent activity, about to be closed soon.
label
Dec 25, 2020
Sylius version affected: master/>1.7.6
Cannot set child as parent to node: ...
exception if we're trying to set current taxon as parent on taxon update.Possible solution:
/admin/ajax/taxons/<ID>/parent/search
(new route likesylius_admin_ajax_taxon_parent_by_name_phrase
), which will exclude current and child taxons from searchRelated: #11777
The text was updated successfully, but these errors were encountered: