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:13:04 UTC

[jira] [Assigned] (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 reassigned FELIX-5617:
---------------------------------------

    Assignee: 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)