Exception on adding Mapping when no category is selected
yecli opened this issue · 1 comments
yecli commented
Exception is thrown when we are adding mappings for all categories (selected by "select all" checkbox) to virtual catalog
"Target catalog and category identifiers should be specified."
Expected behavior
There should be no exception, links should be created.
Actual behavior
Steps to reproduce
- Go to virtual catalog (Important!: do not select specific category)
- Add\Link
- Select catalog, select all categories (using select all checkbox) from some category or catalog, press Map.
Reason:
We could have empty blade.parentBlade.categoryId if we do not select category.