Skip to content

Bulk import: correct the comment on tolerance.skipRowOnError - #1862

Open
JasonWildMe wants to merge 1 commit into
mainfrom
docs/bulk-import-skiprowonerror
Open

JasonWildMe wants to merge 1 commit into
mainfrom
docs/bulk-import-skiprowonerror

Conversation

@JasonWildMe

Copy link
Copy Markdown
Collaborator

What

Comment-only correction in BulkImport.java. No behaviour change.

The comment on tolerance.skipRowOnError said that, in a tolerant import, a row with an error is skipped unless this setting is false. The setting is read but has never been applied. What a tolerant import (failImportOnError: false) actually does is leave out each field that failed validation and import the rest of the row.

The comment now describes that, and notes why the setting is not being wired in: skipping whole rows would change results for existing API clients that use tolerant mode. The React bulk-import page never sends tolerance, so it is unaffected either way.

Testing

None needed: the change is a comment. The file was not recompiled locally; CI will build it.

Any published API documentation outside this repository that describes skipRowOnError should get the same correction.

🤖 Generated with Claude Code

The comment described skipRowOnError as skipping a row that has an
error. The setting is read but has never been applied: a tolerant
import leaves out each field that failed validation and imports the
rest of the row. The comment now says so. No behaviour change.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@JasonWildMe JasonWildMe added this to the 11.1 milestone Nov 10, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 56.92%. Comparing base (db9634c) to head (6bc8520).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1862   +/-   ##
=======================================
  Coverage   56.92%   56.92%           
=======================================
  Files         317      317           
  Lines       12867    12867           
  Branches     4171     4184   +13     
=======================================
  Hits         7324     7324           
  Misses       5246     5246           
  Partials      297      297           
Flag Coverage Δ
backend 56.92% <ø> (ø)
frontend 56.92% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@UrbanFercec UrbanFercec left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Checked it against main: toleranceSkipRowOnError is only ever assigned, never read, and a row with field errors still goes to the importer with those fields left out. The new comment matches what the code does.

@naknomum naknomum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

yup

This branch has not been deployed

No deployments
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.

4 participants