I believe the ID generation issue was introduced through the subcategory work. That required filtering empty values from $scope.categories, which broke an assumption of the ID generation. A similar issue could arise for products and brands, but is not an issue currently. Would be good to add tests to make sure it doesn't become an issue.
I believe the ID generation issue was introduced through the subcategory work. That required filtering empty values from
$scope.categories
, which broke an assumption of the ID generation. A similar issue could arise for products and brands, but is not an issue currently. Would be good to add tests to make sure it doesn't become an issue.