fix(02-bug-fixes): fix 3 known bugs from CONCERNS.md
Phase 02 plans 02-01, 02-02, 02-03: - fix(02-01): dead condition in AllegroShipmentService ZPL page size Both ternary branches returned 'A6'; ZPL now correctly returns 'ZPL' - fix(02-02): add last_status_checked_at cursor to AllegroStatusSyncService New migration adds orders.last_status_checked_at DATETIME NULL with composite index (source, source_updated_at). findOrdersNeedingStatusSync() filters by cursor; markOrderStatusChecked() records timestamp on success. - fix(02-03): replace AllegroOrderSyncStateRepository in ShopproOrdersSyncService New ShopproOrderSyncStateRepository (same table, correct class name). Application.php wires correct repository to correct service. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,7 @@ final class ShopproOrdersSyncService
|
||||
{
|
||||
public function __construct(
|
||||
private readonly ShopproIntegrationsRepository $integrations,
|
||||
private readonly AllegroOrderSyncStateRepository $syncState,
|
||||
private readonly ShopproOrderSyncStateRepository $syncState,
|
||||
private readonly ShopproApiClient $apiClient,
|
||||
private readonly OrderImportRepository $orderImportRepository,
|
||||
private readonly ShopproStatusMappingRepository $statusMappings,
|
||||
|
||||
Reference in New Issue
Block a user