I have an issue that has seemed to come from no-where -- omg I sound like an end user now -- anyway .. after our last deploy we are seeing the strangest thing.
When someone tries to delete a product from an opportunity, we are seeing a popup displaying the number 1 clicking on ok makes the popup go away but doesn't delete the product.
I have stepped through the code break points starting at the delete command from both oob product tab and our new custom one. There are NO dialog calls, no excetion calls .. no where does it every get close to something resembling displaying a popup with the number 1 in it. In the opportunity events, there are NO events inside the OnBeforeDelete or OnAfterdelete events, I have looked at them in reflector to see..
The Code that seems to fire the popup is here -- this code is from the opportunityproduct.cs
public override void
Delete()
{
ISession session = SessionFactoryHolder.HolderInstance.CreateSession();
try
{
using (var ts = new
TransactionScope(TransactionMode.Inherits))
{
session.Evict(this
);
session.Delete(this
); <------------ this line is last line before the popup occurs
Does anyone have another idea where I can start looking for where this is stemming from..? Any Ideas..??
signed
Head changed from Pinhead to Flathead |