500 on GET /product/:id when opening "Insert Quote Widget" dialog — getPreferredDistributor crashes on undefined price

Opening the Insert Quote Widget dialog can cause the backend to return HTTP 500 for product requests.
This impacts product-bearing widgets, because their thumbnails fail to load when a distributor has an empty prices: [] array.

Please authenticate to join the conversation.

Upvoters
Status

Done

Board
⚠️

Bugs

ETA
Jun 21, 2026

Subscribe to post

Get notified by email when there are changes.