Skip to content

[BUG] XML data imports fail for large datasets #3706

@skarpik

Description

@skarpik

Bug Affects...

[x] admin experience UI
[x] Content Types or data management

Current Behavior / Expected Behavior

For small datasets (500 or fewer) records, importing data through XML templating works well. For my project, I had to work with a dataset that included 8028 records consisting of 4014 en-CA records and 4014 fr-CA records).

Image

Directly importing the data from one XML file fails - the operation never completes. To work around this, I created 17 files each with no more than 500 records (250 en-CA, 250 fr-CA). Here is the summary for one of the batches:

Image

Importing the data one by one went fine until batch number 9 when an error occurred. Here is a screen shot of the error that pops up:

Image

To Reproduce (Steps, Videos, Screenshots, Apps)

  1. Created an app with data called RollOfHonourEntry (data template just below)

2sxc RollOfHonourEntry Template 20251111194525.xml

  1. Attempted to import 17 XML files - the maximum number of records in each is 500. Failed on number 10.
  2. In the DNN Admin log, there was the following error:

errorlog.xml

  1. The JavaScript console contained this information:

JavaScript Console.txt

Your environment

  • 2sxc version(s): 20.00.08
  • Browser: all
  • DNN : 10.1.2
  • Hosting platform: IIS
  • Ui Languages: English & French

Additional context

It seemed that each subsequent batch took longer to process but I may be imagining this.

I can supply data and the data template if that is helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions