wayfair-contribs / plentymarkets-plugin

Wayfair plugin for use in the Plentymarkets eCommerce ERP system
https://marketplace.plentymarkets.com/en/plugins/integration/wayfair_6273
Other
4 stars 3 forks source link

Default Order Status can be set to one that does not exist #143

Closed jhoule86 closed 4 years ago

jhoule86 commented 4 years ago

Date(s) issue was encountered: N/A Supplier's client ID (if known): N/A Wayfair plugin Version (displayed in Deployed column in the details of a Plentymarkets Plugin Set) 1.1.3 and earlier Plentymarkets Version / release channel: 7

Short description: The Default Order Status setting can be set to a nonexistent status.

To Reproduce Steps to reproduce the behavior (if repeatable, please perform with the Wayfair logging in Plentymarkets set to the Debug level):

  1. Go to the Wayfair plugin's Settings page
  2. Set Default Order Status to 25 or some other value that does not match a status in the system
  3. click Save

Expected behavior: Save should fail because 25 is not a valid status ID

Actual behavior: Save succeeds, causing the Wayfair plugin to attempt to set incoming order statuses to 25