SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

Fix #9674 - Error when importing (creating and updating) a record with ID already deleted in the database

Open SinergiaCRM opened this issue 2 years ago • 0 comments

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

  1. Create a contact, opportunity, or other record and export it
  2. Delete the record from the CRM interface
  3. Import the file exported in step 1 through the Update and Create option.
  4. 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.

SinergiaCRM avatar Jul 20 '22 19:07 SinergiaCRM