Skip to content

Error when bypassing sync and async logic #266

@FredJoly

Description

@FredJoly

Description

I was trying to use the tool to update the Status Reason on a bunch of records in various environments. Importantly, I need to bypass plugin logic. Unfortunately, I get an error each time I select one or both of the "new" bypass checkboxes.

Interestingly, the old bypass logic checkbox does work so this is not a dealbreaker.

I've outlined the details of my operation to help you replicate the issue (assuming it isn't something on our end).

Operation Details

  • Operation Type: Set State
    • Status: Inactive (1)
    • Status Reason: Inactive (2)
  • Ignore Errors: No
  • Batch size: 1
  • SetStateMultiple
  • Pause between calls: 0
  • Bypass Logic
    • Sync: Yes
    • Async: Yes
    • Plugin Step Ids: N/A
  • Old style: Bypass Logic: No

Error Details

Exception: System.ArgumentException
Error Code: N/A
Source: Bulk Data Updater
Message: An item with the same key has already been added.
Call Stack:

at Cinteros.XTB.BulkDataUpdater.BulkDataUpdater.ExecuteRequest(OrganizationRequest request, JobExecuteOptions executeoptions, BDULogRequest log)
   at Cinteros.XTB.BulkDataUpdater.BulkDataUpdater.SetStateRecordsWork(BackgroundWorker bgworker, DoWorkEventArgs workargs, OptionMetadataItem state, OptionMetadataItem status, IEnumerable`1 includedrecords, JobExecuteOptions executeoptions, BDULogRun log)
   at Cinteros.XTB.BulkDataUpdater.BulkDataUpdater.<>c__DisplayClass44_0.<SetStateRecords>b__0(BackgroundWorker bgworker, DoWorkEventArgs workargs)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions