R10 nHibernate error when payment profile is deleted
Posted: Wed Dec 09, 2015 5:28 am
I can't tell if this is something I've caused, or I'm missing a foreign key constraint or what.
If a GatewayPaymentProfileId is deleted i.e. a shopper deletes a stored card profile, accessing any related payment records GatewayPaymentProfile child class throws an exception:
Shouldn't the ac_Payments.GatewayPaymentProfileId be set to null via a foreign key constraint when a profile is deleted?
If a GatewayPaymentProfileId is deleted i.e. a shopper deletes a stored card profile, accessing any related payment records GatewayPaymentProfile child class throws an exception:
Obviously the 1805 is the gateway profile Id that was deleted.No row with the given identifier exists[CommerceBuilder.Payments.GatewayPaymentProfile#1805]
Shouldn't the ac_Payments.GatewayPaymentProfileId be set to null via a foreign key constraint when a profile is deleted?