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

[1.1.5] Inventory sync blocked indefinitely if initial one fails #204

Closed jhoule86 closed 3 years ago

jhoule86 commented 3 years ago

Date(s) issue was encountered: December 2020 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.5 only Plentymarkets Version / release channel: 7

Short description: Inventory synchronization attempts are halted if the initial inventory sync (after installation/upgrade) fails to complete. "NoReferencePointForPartialInventorySyncException" may be appearing in logs every 15 minutes.

To Reproduce

  1. Install / upgrade the Wayfair plugin to version 1.1.5
  2. Cause / wait for the initial "Full Inventory Synchronization" to fail
  3. Wait at least 10 hours
  4. Visiting the plugin's Inventory page OR wait for the automated Inventory Synchronization event to start 24 hours after the first attempt

Expected behavior: The Wayfair plugin should detect that the initial Inventory Synchronization failed to be completed, and try to start the process again.

Actual behavior: The Wayfair plugin throws an InventorySyncInProgressException and prevents any subsequent Inventory Synchronization activities.

Screenshots: image

Related logs:

jhoule86 commented 3 years ago

NOTICE: fact that the Initial Inventory Sync is failing is a separate issue with a separate cause. Wayfair and Plentymarkets will continue to investigate Inventory Sync stability issues.