Skip to content

Fix OpenVPN and Virtual plugin auto-install failing when they are not enabled - #3567

Merged
Salvialf merged 1 commit into
developfrom
fix/autoinstall-plugin
Oct 9, 2026
Merged

Salvialf merged 1 commit into
developfrom
fix/autoinstall-plugin

Conversation

@Salvialf

@Salvialf Salvialf commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

Since 856ebbb, network::dns_create() and the summary virtual creation in jeeObject check class_exists() right after auto-installing OpenVPN / Virtual, before enabling them. The plugin autoloader only loads classes of active plugins, so the check always fails on a box where the plugin was never enabled and the code throws "doit être installé" without ever reaching the activation step (e.g. enabling Jeedom DNS on a fresh box).

The class_exists() checks now run after the activation.

@Salvialf
Salvialf requested a review from Mips2648 October 9, 2026 15:12
@Salvialf Salvialf added the changelog-fix Use to generate release notes / changelog To be apply on PR label Oct 9, 2026
@Salvialf Salvialf added this to the 5.0 milestone Oct 9, 2026
@Salvialf
Salvialf merged commit e63b7c6 into develop Oct 9, 2026
5 checks passed
@Salvialf
Salvialf deleted the fix/autoinstall-plugin branch October 9, 2026 15:22
@Salvialf Salvialf changed the title Fix OpenVPN and Virtual plugin auto-install failing on boxes where they were never enabled Fix OpenVPN and Virtual plugin auto-install failing when they are not enabled Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog-fix Use to generate release notes / changelog To be apply on PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants