Skip to content

B: Error loading new items to an existing content channel #43

@CoE22Dev

Description

@CoE22Dev

I'm getting the error below while attempting to import a CSV to upload new content channel items to an existing Rock instance. The CSV import file used for this upload has been tested in a sandboxed instance of Rock and completed successfully. I've created the target content channel and was expecting Bulldozer to load items in the CSV to that content channel.

Failure Information (for bugs)

Transform Data,"System.ArgumentException: An item with the same key has already been added.
at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer1 comparer) at Bulldozer.CSV.CSVComponent.LoadExistingData(String importUser) at Bulldozer.CSV.CSVComponent.TransformData(Dictionary2 settings)
at Bulldozer.ProgressPage.bwImportData_DoWork(Object sender, DoWorkEventArgs e)"

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Run Bulldozer
  2. Select CSV for ContentItemImport
  3. Enter database information
  4. Proceed to the final screen and attempt upload
  5. Error happens after receiving these messages on screen:
    "Starting health checks..."
    "Checking for existing data..."

Context

  • Rock Version: Rock McKinley 11.1
  • Bulldozer Version: Bulldozer v1.11.3.1.20201203
  • SQL Server Version: Microsoft SQL Azure (RTM) - 12.0.2000.8
  • Windows Version: Windows Server 2016

Failure Logs

Please include any relevant log snippets or files here.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions