-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stock::Quantifier must take a variant, not an id
@brchristian pointed out that the previous resolve_variant_id logic was broken when a variant had been deleted. This removes the resolve_variant_id private method from Quantifier, and reuqires that a variant object be passed in. Finding associated variants should be the resposibility of the caller, and the code to load a variant unscoped need not be here. Fixes #4660
- Loading branch information
Showing
3 changed files
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters