Skip to content

PM-4934: Fix SFDC payments CSV export#91

Merged
jmgasper merged 1 commit intodevelopfrom
PM-4934
Apr 28, 2026
Merged

PM-4934: Fix SFDC payments CSV export#91
jmgasper merged 1 commit intodevelopfrom
PM-4934

Conversation

@jmgasper
Copy link
Copy Markdown
Collaborator

What was broken
Reports app CSV downloads for SFDC reports, including Payments, saved JSON response bodies into .csv files.

Root cause
The SFDC reports controller did not use the existing CSV response interceptor, so Accept: text/csv requests still returned the controller data as JSON.

What was changed
Enabled application/json and text/csv production on the SFDC reports controller, attached the existing CsvResponseInterceptor, and registered the CSV serializer/interceptor providers in the SFDC reports module.

Any added/updated tests
Added SFDC controller and module coverage for CSV interceptor wiring. Updated the BA fees optional groupBy assertion to accept an omitted optional property while still verifying the value is undefined.

Focused SFDC tests, changed-file ESLint, and build passed. The full test suite was run and still fails on existing unrelated SFDC DTO validation, TaaS empty-array, and member-search SQL assertion failures from the current develop baseline.

What was broken
Reports app CSV downloads for SFDC reports, including Payments, saved JSON response bodies into .csv files.

Root cause
The SFDC reports controller did not use the existing CSV response interceptor, so Accept: text/csv requests still returned the controller data as JSON.

What was changed
Enabled application/json and text/csv production on the SFDC reports controller, attached the existing CsvResponseInterceptor, and registered the CSV serializer/interceptor providers in the SFDC reports module.

Any added/updated tests
Added SFDC controller and module coverage for CSV interceptor wiring. Updated the BA fees optional groupBy assertion to accept an omitted optional property while still verifying the value is undefined.
@jmgasper jmgasper merged commit ab268d2 into develop Apr 28, 2026
6 checks passed
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.

1 participant