[Bug 40737] New: Usage statistics data provider "Import logs" table does not render if "Imported by": "Cronjob"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 Bug ID: 40737 Summary: Usage statistics data provider "Import logs" table does not render if "Imported by": "Cronjob" Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: ERM Assignee: jonathan.druart@gmail.com Reporter: pedro.amorim@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: jonathan.druart@gmail.com, jonathan.field@openfifth.co.uk, martin.renvoize@openfifth.co.uk, matt.blenkinsop@openfifth.co.uk, pedro.amorim@openfifth.co.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 Pedro Amorim <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 --- Comment #1 from Pedro Amorim <pedro.amorim@openfifth.co.uk> --- Created attachment 186017 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186017&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 Pedro Amorim <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch Version|unspecified |Main CC| |jeremy.evans@ukhsa.gov.uk, | |michaela.sieber@kit.edu Assignee|jonathan.druart@gmail.com |pedro.amorim@openfifth.co.u | |k -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 --- Comment #2 from Michaela Sieber <michaela.sieber@kit.edu> --- We have tested this and in Main it is already fixed (with bug 38201) @Pedro: is this Patch for older Versions until 25.05. ? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 Pedro Amorim <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Main |25.05 --- Comment #3 from Pedro Amorim <pedro.amorim@openfifth.co.uk> --- (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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=38201 CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Usage statistics data |Usage statistics data |provider "Import logs" |provider "Import logs" |table does not render if |table does not render if |"Imported by": "Cronjob" |"Imported by": "Cronjob" | |[25.05] --- Comment #4 from David Nind <david@davidnind.com> --- Just checking that to test this you need a valid credentials for the data provider? -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40737 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |RESOLVED Resolution|--- |WONTFIX -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org