This project is read-only.
2
Vote

Manual Closing of Dialog Box Allows Entity to be Created

description

Great job with the solution! Thank you

The following issue concerns the 1.1.0.0 version...

We found that entities could be created on quick create forms by manually closing the duplicate detection modal dialog box. We were able to correct the issue by updating the code on line 373 of the Xrm.DupDetect.js file from:
    if (dialogResults === undefined) return; //Same as cancel
    
to:
        if (dialogResults === undefined) { //Same as cancel
            Xrm.DupDetect.cancel = true;
            Xrm.DupDetect.exObj.getEventArgs().preventDefault();
            return; 
        }

comments

indiadhaval wrote Feb 24, 2015 at 11:50 PM

We were facing the same issue as mentioned and got resolved after modifying the code as suggested. It works. Thank You.

wrote Feb 24, 2015 at 11:50 PM