Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-5617

Remove "null" from console messages

    XMLWordPrintableJSON

Details

    Description

      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:

      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

      The proposed fix is to verify whether there is a presentation name, if not then use the symbolic name. the expected result is below:

      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

      Attachments

        Issue Links

          Activity

            People

              bosschaert David Bosschaert
              cvgaviao Cristiano GaviĆ£o
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: