felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars-Erik Kimmel (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-2579) deviceType in desciption of subdevices missing
Date Mon, 06 Sep 2010 10:30:34 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars-Erik Kimmel updated FELIX-2579:
------------------------------------

    Description: 
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.

  was:
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(..)


> deviceType in desciption of subdevices missing
> ----------------------------------------------
>
>                 Key: FELIX-2579
>                 URL: https://issues.apache.org/jira/browse/FELIX-2579
>             Project: Felix
>          Issue Type: Bug
>            Reporter: Lars-Erik Kimmel
>            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.


Mime
View raw message