[
https://issues.apache.org/jira/browse/FELIX-5252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351522#comment-15351522
]
munene kiruja commented on FELIX-5252:
--------------------------------------
I found three more internal runtime info keys that file install can persist to
file if they are present in the config info. [These can be there when the
config info is read from the component context that is given to the component
activate function ]
The fix would involve adding these three to the items to omit from the config
file noted above:
old.remove( Constants.OBJECTCLASS );
old.remove( ComponentConstants.COMPONENT_NAME );
old.remove( ComponentConstants.COMPONENT_ID );
> FileInstall can write "service.bundleLocation" into OSGi configuration files
> ----------------------------------------------------------------------------
>
> Key: FELIX-5252
> URL: https://issues.apache.org/jira/browse/FELIX-5252
> Project: Felix
> Issue Type: Bug
> Components: File Install
> Affects Versions: fileinstall-3.5.0
> Reporter: munene kiruja
> Attachments: ConfigInstaller.java
>
>
> Information referenced by "service.bundleLocation" key is internal details
> that relevant only to the current instance of the executable and as such
> should not be in the configuration files.
> ConfigInstaller.java checks for and removes information about other internal
> information and could most naturally handle this key as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)