-
Notifications
You must be signed in to change notification settings - Fork 29
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 #106: ISM Plugin is not functional #133
Conversation
@@ -278,6 +279,7 @@ void deactivate() { | |||
oldState = unit.getState(); | |||
unit.setState(State.ERROR); | |||
unit.setErrorMessage(e.getMessage()); | |||
if (log != null) log.log(LogService.LOG_ERROR, "Error installing artifact(s)", e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checkstyle issue
The resolution error that occurred was as follows. Both the SampleMgrPlugin.bar and the application itself contain the bundle When this occurs, the Note that in this case the duplicate bundle does not form part of the reference-counted installation set for the plugin .bar file, and therefore will not be uninstalled when the plugin is removed. I think this is the correct behaviour. |
Thanks for the approval. |
@neilxb looks like this PR still includes 5 warnings http://10.3.240.52:8080/view/Master/job/osc-core/170/ can you send a new PR fixing the warnings? thx! |
NB this PR does not directly fix the ISM issue #106 , which no longer occurs after the merge of PR #111. However after that merge there was a resolution error when attempting to install the sample plugin due to a conflict with the bundles in the platform. This PR fixes that resolution error and also adds additional diagnostic info in cases where a resolution error occurs.