https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42150

--- Comment #5 from Paul Derscheid <[email protected]> ---
Created attachment 195725
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=195725&action=edit
Bug 42150: (follow-up) Guard against null importFn return

If a plugin's importFn returns null or undefined (e.g. the
static file was removed or the import fails silently), the
frozen module clone would crash with "Cannot convert undefined
or null to object". This adds an early return before the
clone attempt.

To test:
1. Register an island with an importFn that returns undefined.
2. Verify no error is thrown and the island is silently skipped.
3. Other islands on the same page still render normally.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to