Bug 41328 - All KohaTable tables broken in Vue components
Summary: All KohaTable tables broken in Vue components
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Architecture, internals, and plumbing (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low blocker
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on: 38426
Blocks:
  Show dependency treegraph
 
Reported: 2025-11-28 09:03 UTC by Jonathan Druart
Modified: 2025-11-28 09:12 UTC (History)
0 users

See Also:
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:


Attachments
Bug 41328: Fix incorrect use of ref in KohaTable.vue (1.71 KB, patch)
2025-11-28 09:04 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2025-11-28 09:03:24 UTC
See the current cypress failures on Jenkins

> JS Warning detected: "[Vue warn]: Unhandled error during execution of mounted hook" "\n" " at <KohaTable" "ref=\"table\"" "url=\"/api/v1/preservation/waiting-list/items\"" "options=" {"embed":"biblio","orderCe
Comment 1 Jonathan Druart 2025-11-28 09:04:53 UTC
Created attachment 190011 [details] [review]
Bug 41328: Fix incorrect use of ref in KohaTable.vue

This patch fixes DataTables instantiation in Vue components. There was
an error in the console

Uncaught (in promise) TypeError: table.value.dt is not a function