You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While managing plugins with p4fj, I encountered an issue where the dependency relationship of a deleted plugin was not correctly updated. Specifically, after deleting a plugin that other plugins depend on, attempting to stop those dependent plugins results in an error, stating Plugin 'hello-plugin' not found, despite hello-plugin having been deleted.
Steps to Reproduce
Assume there are two plugins: one named welcome-plugin and another named hello-plugin, with hello-plugin depending on welcome-plugin.
After hello-plugin has been deleted, welcome-plugin should stop without any errors, unaffected by any dependency issues.
Actual Behavior
When attempting to stop welcome-plugin, the error Plugin 'hello-plugin' not found occurs. This error is due to the plugin manager's dependencyResolver still referencing the uninstalled hello-plugin.
Description
While managing plugins with p4fj, I encountered an issue where the dependency relationship of a deleted plugin was not correctly updated. Specifically, after deleting a plugin that other plugins depend on, attempting to stop those dependent plugins results in an error, stating
Plugin 'hello-plugin' not found
, despitehello-plugin
having been deleted.Steps to Reproduce
welcome-plugin
and another namedhello-plugin
, withhello-plugin
depending onwelcome-plugin
.hello-plugin
:welcome-plugin
.Expected Behavior
After
hello-plugin
has been deleted,welcome-plugin
should stop without any errors, unaffected by any dependency issues.Actual Behavior
When attempting to stop
welcome-plugin
, the errorPlugin 'hello-plugin' not found
occurs. This error is due to the plugin manager'sdependencyResolver
still referencing the uninstalledhello-plugin
.Dependency Graphs
dependenciesGraph
:dependentsGraph
:Possible Solution
Update the dependency graphs upon plugin deletion to ensure all dependencies and dependents are correctly handled.
Environment Information
v3.11.0
If I have misunderstood, please correct me 🫡
The text was updated successfully, but these errors were encountered: