Koha-clms/Koha/ERM/EUsage
Pedro Amorim 9482590909
Bug 39345: (QA follow-up): Add exception handling for unsupported counter release
To test this on the UI, you can add the following line of code at the beginning on 'new' in SushiCounter.pm:
->{response}->{Report_Header}->{Release} = 6;

This will force the release to be '6'. Then you can perform a harvest using the UI. The background job will fail with the error message saying that counter release 6 is not supported

prove t/db_dependent/Koha/BackgroundJobs/ErmSushiHarvester.t

Signed-off-by: Eric Phetteplace <phette23@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2025-09-05 15:10:31 -06:00
..
COUNTER Bug 39345: (QA follow-up): Fix QA complaints 2025-09-05 15:10:30 -06:00
CounterFile.pm Bug 39345: Add COUNTER 5.1 support 2025-09-05 15:10:28 -06:00
CounterFiles.pm
…
CounterLog.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
CounterLogs.pm
…
DefaultUsageReport.pm
…
DefaultUsageReports.pm
…
MonthlyUsage.pm
…
MonthlyUsages.pm
…
SushiCounter.pm Bug 39345: (QA follow-up): Add exception handling for unsupported counter release 2025-09-05 15:10:31 -06:00
UsageDataProvider.pm Bug 39345: (QA follow-up): Add exception handling for unsupported counter release 2025-09-05 15:10:31 -06:00
UsageDataProviders.pm
…
UsageDatabase.pm
…
UsageDatabases.pm
…
UsageItem.pm
…
UsageItems.pm
…
UsagePlatform.pm
…
UsagePlatforms.pm
…
UsageTitle.pm
…
UsageTitles.pm
…
YearlyUsage.pm
…
YearlyUsages.pm
…