Created attachment 186017 [details] [review] Bug 40737: Fix rendering 'Cronjob' Test plan, k-t-d, before applying patch (requires data provider SUSHI credentials): 1) Enable ERMModule 2) Create a new data provider, visit: <staff_url>/cgi-bin/koha/erm/eusage/usage_data_providers/add 3) Add the required credentials (customer id, requestor id) and at least one report type e.g. TR J1 4) Run the cron, e.g.: $ perl misc/cronjobs/erm_run_harvester.pl --begin-date 2025-05-01 --end-date 2025-06-01 --debug 5) Wait a few seconds (depending on the harvest job). Visit the data provider page: <staff_url>/cgi-bin/koha/erm/eusage/usage_data_providers/1 6) Click on the 'Import logs' tab. Notice the datatable never renders. 7) Apply patch. Run the yarn build command: $ yarn js:build 8) Repeat 5+6. Notice the table renders normally and shows 'Cronjob' for the import logs generated by the cronjob.
We have tested this and in Main it is already fixed (with bug 38201) @Pedro: is this Patch for older Versions until 25.05. ?
(In reply to Michaela Sieber from comment #2) > We have tested this and in Main it is already fixed (with bug 38201) > > @Pedro: is this Patch for older Versions until 25.05. ? Thank you Michaela, bug 38201 was not in main when this patch was written. You're right that it is fixed by it. I've retested this for 25.05.x and confirmed the bug exists + this patch fixes it there, because of that I'm updating the Version of this bug to 25.05. Thank you.