SuiteCRM
SuiteCRM copied to clipboard
Fix #9674 - Error when importing (creating and updating) a record with ID already deleted in the database
Solves https://github.com/salesagility/SuiteCRM/issues/9674
Description
The PR deletes the condition indicated in the issue.
Motivation and Context
The PR deletes the condition indicated in the issue to be able to import, with the create and update option, files with record IDs deleted at the database level
How To Test This
- Create a contact, opportunity, or other record and export it
- Delete the record from the CRM interface
- Import the file exported in step 1 through the Update and Create option.
- Check that the import was successful
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Final checklist
- [x] My code follows the code style of this project found here.
- [ ] My change requires a change to the documentation.
- [x] I have read the How to Contribute guidelines.