chudkins / DSF

A script to automate working with EFI's Digital StoreFront
GNU General Public License v3.0
0 stars 0 forks source link

Manage-Product add fails if new ID is a subset of existing product #38

Closed chudkins closed 5 years ago

chudkins commented 5 years ago

When adding a product, we first search to make sure we aren't duplicating an existing name. However, if the new ID gets a match because it's a subset of something else, script just sits there at the search results page.

Check if any of the results is an exact match, and proceed if not.

Related: #15

chudkins commented 5 years ago

Fixed. Find-Product wasn't checking for an exact match, so if there were subset matches it just sat there.

Function is slow to move on if subset matches are found, but that's a different issue! 😆