KamoCRM

Reload market after create/update to initialize lazy collections

FixSecurityService
Shipped
December 5, 2025 at 4:41 PM UTC
Author
snadjafinia
Commit
b39917e

- Updated createMarket and updateMarket to reload market using getMarketById - This ensures all lazy collections (marketCustomForms, vendorProducts) are initialized - Fixes MultipleBagFetchException when converting to DTO after save

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing