是什么原因 "The required feature ' refId' of 'Device Used By Application' must be set"

What causes "The required feature ' refId' of 'Device Used By Application' must be set"

我在 CentOS 7 上使用 REDHAWK 2.0.4

我正在尝试按照此处的教程进行操作: https://www.youtube.com/watch?v=SttCsAIQtSA 在 11:14 他们将设备依赖项添加到 xml 文件:

<usesdevicedependencies>
  <usesdevice id="device_connection">
    <propertyref refid="DCE:cdc5ee18-7ceb-4ae6-bf4c-31f983179b4d"
                 value="chirp"/>
  </usesdevice>
<usesdevicedependencies>

还有这个

<connectinterface id="device_connection_1">
  <usesport>
    <usesidentifier>dataFloat_out</usesidentifier>
    <deviceusedbyapplication usesrefid="device_connection"/>
  </usesport>
  <providesport>
    <providesidentifier>dataFloat_In</providesidentifier>
    <componentinstationref refid="TuneFilterDecimate_1"/>
  </providesport>
</connectinterface>

当我做同样的事情时,我得到了标题中的错误:

The required feature ' refId' of 'Device Used By Application' must be set

我认为 "DeviceUsedByApplication" 使用了 "usesrefid",也许这个错误是由其他原因引起的?

我收到开发者的消息,他们说这个问题已经在 2.0.4 中得到确认。

Just to confirm, the issue that you experienced in 2.0.4 has actually been
there a while, but it seems like it's now getting checked. Adding the refid to 
the devicesusedbyapplication will get rid of the message, but as you 
experienced, it has no bearing on whether or not it breaks anything. With any 
luck it'll be fixed soon. Until then though, it can be ignored or mitigated as you did.

IDE 报告的错误实际上是不正确的。这是在最近的 2.0.5 版本中修复的错误。请参阅发行说明 (https://github.com/redhawksdr/redhawk/releases/tag/2.0.5):

Adding a FrontEnd Uses Device to a Waveform no longer causes an error when saving the Waveform