Leads duplicate check bug

Hi,

when I try to save a lead which has the same Name of an existing one, the CRM shows me the existing one, but the save button does not save the new lead.
Can you please help me?
thank you
giuseppe

Problem: SuiteCRM version 7.2.1

=> User creates Contact,Lead record
=> Again create same record
=> Possible duplicates found
=> If User save or cancel

Then 

Generate The Error:- Error retrieving record. This record may be deleted or you may not be authorized to view it.

second created record is not save and not store in database.

Solution :

first go to this location : include/SugarFields/Fields/Image/SugarFieldImage.php

and give comment this code : 74 to 77 line

 /*	if (empty($bean->id)) {
$bean->id = create_guid();
$bean->new_with_id = true;

}  */

This is a known issue and a fix has been proposed on the SuiteCRM GitHub Repository. Thank you for providing your solution.

Do this commit manually: https://github.com/salesagility/SuiteCRM/commit/5b21564e367cf6aee3e1b01e160a755be80ea6c4