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

[SofaKernel] FIX PluginManager::pluginIsLoaded #1615

Conversation

damienmarchal
Copy link
Contributor

The function pluginIsLoaded is not behaving as it name suggest and does not detect plugin that have not been loaded using an absolute file path.

See:
SofaDefrost/plugin.SofaPython3.deprecated#137


By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).


Reviewers will merge this pull-request only if

  • it builds with SUCCESS for all platforms on the CI.
  • it does not generate new warnings.
  • it does not generate new unit test failures.
  • it does not generate new scene test failures.
  • it does not break API compatibility.
  • it is more than 1 week old (or has fast-merge label).

The function is not behaving as it name suggest and does not detect plugin that have
not been loaded using the pluginManager.
@damienmarchal damienmarchal added pr: status to review To notify reviewers to review this pull-request issue: bug (minor) Bug affecting only some users or with no major impact on the framework labels Nov 20, 2020
@fredroy fredroy added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Dec 2, 2020
@guparan guparan added pr: status to review To notify reviewers to review this pull-request and removed pr: status ready Approved a pull-request, ready to be squashed labels Dec 2, 2020
@damienmarchal
Copy link
Contributor Author

@guparan the suggested changed has been made.

@guparan guparan added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Dec 2, 2020
@jnbrunet jnbrunet merged commit fca4e76 into sofa-framework:master Dec 2, 2020
guparan pushed a commit that referenced this pull request Dec 8, 2020
* [SofaKernel] FIX PluginManager::pluginIsLoaded

The function is not behaving as it name suggest and does not detect plugin that have
not been loaded using the pluginManager.

* Update PluginManager.cpp
@guparan guparan added this to the v20.12 milestone Jan 18, 2021
@damienmarchal damienmarchal deleted the pr-fix-pluginmanger-isloadedplugin branch July 12, 2021 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug (minor) Bug affecting only some users or with no major impact on the framework pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants