Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Plugin warnings only shown for active replacements #122

Merged
merged 3 commits into from
Apr 26, 2021

Conversation

jaxwilko
Copy link
Member

@jaxwilko jaxwilko commented Apr 26, 2021

Because the PluginManager's replacementMap isn't cleared when an original plugin is not installed the warnings were still being shown.

This patch adds support for tracking active replacements within the PluginManager and uses that data to check if the original plugin has been removed before displaying warnings.

Fixes #123

@LukeTowers LukeTowers added this to the v1.1.4 milestone Apr 26, 2021
@LukeTowers LukeTowers merged commit 812f524 into develop Apr 26, 2021
@LukeTowers LukeTowers deleted the fix/plugin-warnings-expose-replaced branch April 26, 2021 15:11
LukeTowers added a commit that referenced this pull request May 14, 2021
* develop: (45 commits)
  Revert "Add class alias registration method to plugins (#152)" (#176)
  Add class alias registration method to plugins (#152)
  Improved Latvian translation (#142)
  Fixing styles for custom checkbox (#140)
  ImageResizer should support uppercase file extensions (#135)
  Improved Italian Translations (#134)
  Improved Latvian translation (#128)
  Update lang.php
  Only show plugin warnings for active replacements (#122)
  Fix unit tests
  Ensure route attributes from plugins are properly loaded
  Revert "Support ReportContainers that are aliases of real ReportContainers"
  Ensure all plugins are uninstalled when the system is uninstalled (#114)
  Add history of replacement plugins to the system_plugin_history table (#115)
  Warn when replaced plugins are still present (#109)
  Added plugin registration after loading (#113)
  Fixed issue with taglist when not readOnly but an array value
  Improve handling for null being passed to the ImageResizer
  Add discord badge
  Support ReportContainers that are aliases of real ReportContainers
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Winter.Pages plugin replaces RainLab.Pages, please remove RainLab.Pages to ensure there are no conflicts
2 participants