[ https://issues.apache.org/jira/browse/FELIX-2579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefano Lenzi closed FELIX-2579. -------------------------------- Resolution: Fixed Added the deviceType not only to rootDevice but also to its children > 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 > Affects Versions: upnp-basedriver-0.8.0 > Reporter: Lars-Erik Kimmel > Assignee: Stefano Lenzi > Priority: Minor > Fix For: upnp-basedriver-1.0.0 > > 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.