Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D62CF200C5C for ; Thu, 20 Apr 2017 13:17:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id D4BE0160B9F; Thu, 20 Apr 2017 11:17:08 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 26F8B160B91 for ; Thu, 20 Apr 2017 13:17:08 +0200 (CEST) Received: (qmail 30249 invoked by uid 500); 20 Apr 2017 11:17:07 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 30237 invoked by uid 99); 20 Apr 2017 11:17:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Apr 2017 11:17:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B70ECC0463 for ; Thu, 20 Apr 2017 11:17:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id xdHZ0G1pOWWY for ; Thu, 20 Apr 2017 11:17:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 7B7155F297 for ; Thu, 20 Apr 2017 11:17:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9FFB6E0BFB for ; Thu, 20 Apr 2017 11:17:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 25AFE21B54 for ; Thu, 20 Apr 2017 11:17:04 +0000 (UTC) Date: Thu, 20 Apr 2017 11:17:04 +0000 (UTC) From: "David Bosschaert (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FELIX-5617) Remove "null" from console messages MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 20 Apr 2017 11:17:09 -0000 [ https://issues.apache.org/jira/browse/FELIX-5617?page=3Dcom.atlassia= n.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=3Drevision&revision=3D1792040 > 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=C3=A3o > Assignee: David Bosschaert > Fix For: bundlerepository-2.0.10 > > > When BudleRepository is working with R5 index files the parsed resource w= ill not have a presentation name, so every time it tries to show informatio= n about a resource in the console a "null" will printed instead. > Example: > {quote} > Unsatisfied requirement(s): > --------------------------- > (&(symbolicname=3Dorg.eclipse.equinox.common)(bundle-version>=3D3.2.0)= (!(bundle-version>=3D4.0.0))) > null > (&(package=3Dorg.osgi.service.prefs)(version>=3D1.1.0)(!(version>=3D2.= 0.0))) > null > {quote} > The proposed fix is to verify whether there is a presentation name, if no= t then use the symbolic name. the expected result is below: > {quote} > Unsatisfied requirement(s): > --------------------------- > (&(symbolicname=3Dorg.eclipse.equinox.common)(bundle-version>=3D3.2.0)= (!(bundle-version>=3D4.0.0))) > org.eclipse.equinox.preferences > (&(package=3Dorg.osgi.service.prefs)(version>=3D1.1.0)(!(version>=3D2.= 0.0))) > org.lunifera.runtime.kernel.lib > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346)