B2023-038: Import of procedure crashes when it has an RO that is not in the set it is imported into (rather than converting it to text)

This commit is contained in:
Kathy Ruffing 2023-04-03 15:52:53 +00:00
parent d11cba261f
commit c4356e3646

View File

@ -1768,7 +1768,8 @@ namespace VEPROMS.CSLA.Library
{ {
rc.title = GetRODatabaseTitle(GetRODatabaseTitleIndex(roid)); rc.title = GetRODatabaseTitle(GetRODatabaseTitleIndex(roid));
} }
// B2023-038: return a "?" if none found - this is used by calling methods to flag none found.
if (rc.ID < 0 && rc.value == null) rc.value = "?";
return rc; return rc;
} }