Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 48063 invoked from network); 9 Sep 2010 12:13:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Sep 2010 12:13:58 -0000 Received: (qmail 38621 invoked by uid 500); 9 Sep 2010 12:13:58 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 38262 invoked by uid 500); 9 Sep 2010 12:13:54 -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 38254 invoked by uid 99); 9 Sep 2010 12:13:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 12:13:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Sep 2010 12:13:52 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o89CDWw3019279 for ; Thu, 9 Sep 2010 12:13:32 GMT Message-ID: <10609558.95391284034412429.JavaMail.jira@thor> Date: Thu, 9 Sep 2010 08:13:32 -0400 (EDT) From: "Stefano Lenzi (JIRA)" To: dev@felix.apache.org Subject: [jira] Assigned: (FELIX-2579) deviceType in desciption of subdevices missing In-Reply-To: <9261563.38931283768432421.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FELIX-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stefano Lenzi reassigned FELIX-2579: ------------------------------------ Assignee: Stefano Lenzi > deviceType in desciption of subdevices missing > ---------------------------------------------- > > Key: FELIX-2579 > URL: https://issues.apache.org/jira/browse/FELIX-2579 > Project: Felix > Issue Type: Bug > Components: UPnP Subproject > Reporter: Lars-Erik Kimmel > Assignee: Stefano Lenzi > Priority: Minor > Attachments: BuildDevice.java > > > The desciption lacks of deviceType for subdevices. > It can be pinned down to BuildDevice, where only in the description of the root device the deviceType with the highest supported version is added to the document. > A simple workaround helps by introducing a method > private static void setDeviceTypeWithHighestVersion(Device devUPnP, ServiceReference sr) > made of the code in the build of the root device > and call > setDeviceTypeWithHighestVersion(devUPnP, sr); > in buildRootDeviceNode(..) and buildDevice(..) > This workaround is done in the attached BuildDevice.java. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.