You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "David Bosschaert (JIRA)" <ji...@apache.org> on 2017/04/20 11:17:04 UTC
[jira] [Resolved] (FELIX-5617) Remove "null" from console messages
[ https://issues.apache.org/jira/browse/FELIX-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Bosschaert resolved FELIX-5617.
-------------------------------------
Resolution: Fixed
Fix Version/s: bundlerepository-2.0.10
Thanks for the pull request [~cvgaviao]! It's applied in https://svn.apache.org/viewvc?view=revision&revision=1792040
> Remove "null" from console messages
> -----------------------------------
>
> Key: FELIX-5617
> URL: https://issues.apache.org/jira/browse/FELIX-5617
> Project: Felix
> Issue Type: Improvement
> Components: Bundle Repository (OBR)
> Affects Versions: bundlerepository-2.0.8
> Reporter: Cristiano GaviĆ£o
> Assignee: David Bosschaert
> Fix For: bundlerepository-2.0.10
>
>
> When BudleRepository is working with R5 index files the parsed resource will not have a presentation name, so every time it tries to show information about a resource in the console a "null" will printed instead.
> Example:
> {quote}
> Unsatisfied requirement(s):
> ---------------------------
> (&(symbolicname=org.eclipse.equinox.common)(bundle-version>=3.2.0)(!(bundle-version>=4.0.0)))
> null
> (&(package=org.osgi.service.prefs)(version>=1.1.0)(!(version>=2.0.0)))
> null
> {quote}
> The proposed fix is to verify whether there is a presentation name, if not then use the symbolic name. the expected result is below:
> {quote}
> Unsatisfied requirement(s):
> ---------------------------
> (&(symbolicname=org.eclipse.equinox.common)(bundle-version>=3.2.0)(!(bundle-version>=4.0.0)))
> org.eclipse.equinox.preferences
> (&(package=org.osgi.service.prefs)(version>=1.1.0)(!(version>=2.0.0)))
> org.lunifera.runtime.kernel.lib
> {quote}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)