Skip to content

Conversation

@mvaneijken
Copy link
Contributor

This pull request fixes error "PutExportEntriesDetached, An item with the same key has already been added."

This problem occurs when the ObjectModificationType = Delete, in that case results.CSEntryChangeResults.Add() is executed twice.

…elete

Make sure that ChangedAttributeNames is not processed when ObjectModificationType == Delete
Copilot AI review requested due to automatic review settings November 13, 2025 12:21
Copilot finished reviewing on behalf of mvaneijken November 13, 2025 12:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes a bug that caused duplicate key errors during delete operations in the export process. The issue occurred because CSEntryChangeResult was being added twice for delete operations.

  • Removed duplicate CSEntryChangeResult.Add() call for delete operations (line 108)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant