Commit Graph
4 Commits
Author SHA1 Message Date
dualfrozandLance Pioch 8860a5c5e5 Fix plugin update crashing after the rows are refreshed (#2598)
Co-authored-by: Lance Pioch <git@lance.sh>
2026-09-25 14:55:44 -04:00
upstream f81f44a004 Upstream pelican/panel state of the touched files before 4334d5141e 2026-09-25 20:55:44 +02:00
dualfroz 7e79170bf9 Fix plugin update crashing after the rows are refreshed
Plugin::refreshRows() drops the Sushi connection, and only a newly
constructed model boots it again. updatePlugin() called refresh() on the
instance it was given, which queries through the dropped connection and
fails with "Call to a member function query() on null". Load the plugin
again with findOrFail(), like the plugin jobs already do.
2026-09-24 18:46:25 +02:00
upstream 4494b7409f Upstream pelican/panel state of the touched files before 53ea227d1f 2026-09-24 18:46:25 +02:00