Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix missing batch header partial files #160

Closed

Conversation

jasonbornsteinMOOV
Copy link
Contributor

Workaround for incorrectly created partial files, where entries exist without a BatchHeader record.

Changes

Pass a new parameter AllowMissingBatchHeader: true to ach.ValidateOpts when using ach.NewReader to read an ACH file.

Why Are Changes Being Made

Workaround the issue where partial files (full batches with no file header/control record) are being created without batch headers.

Workaround for incorrectly created partial files, where entries exist without a BatchHeader record.
pkg/filelist/common.go Outdated Show resolved Hide resolved
configs/config.default.yml Outdated Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Oct 3, 2023

Codecov Report

Attention: 15 lines in your changes are missing coverage. Please review.

Comparison is base (c908b30) 12.22% compared to head (61d2e1c) 12.09%.
Report is 2 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #160      +/-   ##
==========================================
- Coverage   12.22%   12.09%   -0.14%     
==========================================
  Files          10       10              
  Lines         368      372       +4     
==========================================
  Hits           45       45              
- Misses        318      322       +4     
  Partials        5        5              
Files Coverage Δ
pkg/filelist/bucket.go 0.00% <0.00%> (ø)
pkg/filelist/filesystem.go 0.00% <0.00%> (ø)
pkg/filelist/list.go 0.00% <0.00%> (ø)
pkg/filelist/achgateway.go 0.00% <0.00%> (ø)
pkg/filelist/common.go 0.00% <0.00%> (ø)

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

@adamdecaf adamdecaf closed this Oct 16, 2023
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.

5 participants