Skip to content
Snippets Groups Projects
Commit 63a25241 authored by Andreas Hubel's avatar Andreas Hubel Committed by Roang
Browse files

fix(scheduleimport) do not delete mapping, as this leads to inconsistency #653

parent 68b94692
Branches
Tags
No related merge requests found
...@@ -348,8 +348,6 @@ class ScheduleSource(models.Model): ...@@ -348,8 +348,6 @@ class ScheduleSource(models.Model):
) )
logging.exception('Import on ScheduleSource %s encountered exception on creating mapping for %s "%s".', self.pk, item_type, item_source_id) logging.exception('Import on ScheduleSource %s encountered exception on creating mapping for %s "%s".', self.pk, item_type, item_source_id)
# ... and delete the incomplete (wrong) mapping
mapping.delete()
return 'error' return 'error'
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment