https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42150
--- Comment #23 from Arthur Suzuki <[email protected]> --- Created attachment 196144 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196144&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. Signed-off-by: Arthur Suzuki <[email protected]> -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug. _______________________________________________ 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/
