1) This is a limitation, that it is possible to select in OB only data objects with not empty names.
2) Selection manager performs an access to IO of selected LightApp_DataOwner without an existing check, so a crashed happens. There can be reproduced by creation LightApp_DataOwner with an entry parameter, without IO set.
if (theObj)
{
bool isSuitable = !theObj->entry().isEmpty() &&
- !theObj->componentDataType().isEmpty() &&
- !theObj->name().isEmpty();
+ !theObj->componentDataType().isEmpty();
return isSuitable;
}
if ( !owner )
continue;
- if ( !aSet.contains( owner->entry() ) ) {
+ if ( !aSet.contains( owner->entry() ) && !owner->IO().IsNull() ) {
selList.append( owner->IO() );
aSet.insert( owner->entry() );
}