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 should handle failure to proceed to next page #12

Closed chudkins closed 5 years ago

chudkins commented 5 years ago

Detect if product details page didn't load, and if so check for error message such as "This name already exists" so we can handle it gracefully.

chudkins commented 5 years ago

One way to help avoid the dupe issue is to have Manage-Product check to make sure a product doesn't already exist before trying to add it. This has been done.

chudkins commented 5 years ago

Checks now exist for attempting to create a duplicate product (Name), and failure to update product info for whatever reason. (When DSF just refuses to accept your input and doesn't say why.)

chudkins commented 5 years ago

If DSF declines to create or update a product, script should now notice this, log a message, and continue to the next item.