FMSC-Measurements / CruiseProcessing

2 stars 1 forks source link

Regional reports displaying incorrect headers on reports #42

Closed BenCamps closed 2 months ago

BenCamps commented 4 months ago

Some regional reports, where multiple reports share a common template for the column heading are showing incorrect column headers when a similar report is ran prior.

This is due to the template for the report headers being overwritten when the first report is ran. In versions prior to 3.13.2024 report headers for all regional report were re-instantiated for each instance of each regional report generator.

when the template for report column headings were changed to a static instance this allowed reports to modify the shared instance of the report template.

need to look at all code where static strings stored in array are being shared across the application to insure that shared data isn't getting overwritten when it isn't expected to be rewritten

BenCamps commented 3 months ago

Reports possibly impacted by this issue A05, A07, LD1 - LD8, ST1, ST2, ST3, WT2, WT5, R102, R103, R401, R402, R403, R404, R501, R604, R605, R001, R002, R006, R007