Bug 41476

Summary: Plugins table explode if one of the plugin is in error
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Staff interfaceAssignee: Jonathan Druart <jonathan.druart>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: gmcharlt, victor
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 31603    
Bug Blocks:    
Attachments: Bug 41476: Fix plugins table when one of the plugin has errors

Description Jonathan Druart 2025-12-18 12:36:12 UTC
colspan in the body is not supported by DataTables
Comment 1 Jonathan Druart 2025-12-18 12:37:14 UTC
https://snipboard.io/IZqAU5.jpg
Comment 2 Jonathan Druart 2025-12-18 12:39:56 UTC
Created attachment 190616 [details] [review]
Bug 41476: Fix plugins table when one of the plugin has errors

I've tried to install one of my old plugin and it exploded.

https://gitlab.com/joubu/koha-plugin-jump

Test plan:
Install a broken plugin and notice the Datatable error on the plugins
list
With this patch applied the error is gone
Comment 3 Jonathan Druart 2025-12-18 12:40:24 UTC
After the patch applied: https://snipboard.io/1k9lZ2.jpg
Comment 4 Jonathan Druart 2025-12-18 12:40:53 UTC
QA note: the "warn" class had no effect.
Comment 5 Jonathan Druart 2025-12-18 12:43:49 UTC
well now the plugin is working. Maybe I had forgotten to reload plack.
Comment 6 Victor Grousset/tuxayo 2025-12-27 17:55:58 UTC
Then to reproduce, how to break a plugin in a way that breaks the table but that still keeps it installable?