[
https://issues.apache.org/jira/browse/FELIX-5617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on FELIX-5617 started by David Bosschaert.
-----------------------------------------------
> 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
>
> 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)