marello
marello copied to clipboard
Dataaudit for PriceType needs Integer Id
Consumer generates SQL error
app.ERROR: Consuming interrupted by exception. "An exception occurred while executing 'INSERT INTO oro_audit (action, logged_at, object_id, object_class, object_name, version, transaction_id, owner_description, additional_fields, organization_id, impersonation_id, user_id, type) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, "2018-09-24 13:18:23", "msrp", "Marello\\Bundle\\PricingBundle\\Entity\\PriceType", "msrp Msrp Price", null, "99ca1fe5-711e-4acd-8b64-97e12d665b1e", null, "YTowOnt9", null, null, null, "audit"]: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: 'msrp' for column 'object_id' at row 1"
object_id has to be Integer but Id if PriceType is string.