log.debug("Updating affected product: {}", product);
ProductContentData pcd = pdata.getProductContent(updated.getId());
if (pcd != null) {
pcd.setContent(cdata);
this.productManager.updateProduct(pdata, owner, regenerateEntitlementCerts);
<BUG>}
}</BUG>
return alt;
}
}

log.debug("Updating affected product: {}", product);
ProductContentData pcd = pdata.getProductContent(updated.getId());
if (pcd != null) {
pcd.setContent(cdata);
this.productManager.updateProduct(pdata, owner, regenerateEntitlementCerts);
}
}
if (this.ownerContentCurator.getOwnerCount(entity) == 0) {
this.contentCurator.delete(entity);
}
return alt;
}
}
