B2022-088: Find Doc Ro button not working in Word Sections
B2022-089: Updating RO Crashes
This commit is contained in:
@@ -4086,16 +4086,19 @@ namespace VEPROMS
|
||||
//}
|
||||
_DidConvertROsToText |= true;
|
||||
}
|
||||
|
||||
private bool _DidProcessROs = false; // B2017-076 flag that ROs where processed
|
||||
private void AddROUsages(Content content, XmlNode xn)
|
||||
{
|
||||
AddROUsages(content, xn, false);
|
||||
}
|
||||
|
||||
// part of bug fix B2017-060 added the isGrid parameter
|
||||
private void AddROUsages(Content content, XmlNode xn, bool isGrid)
|
||||
{
|
||||
if (_ImportingApprovedExportFile) return; //B2020-095 the links are already removed from the import file
|
||||
_DidProcessROs = false;
|
||||
|
||||
if (_ConvertROsToTextDuringImport)
|
||||
ConvertImportProcedureROsToText(content, xn);
|
||||
else
|
||||
@@ -4113,7 +4116,15 @@ namespace VEPROMS
|
||||
|
||||
ROFSTLookup lookup = MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(MyDocVersion);
|
||||
|
||||
string roval = lookup.GetRoValue(roid);
|
||||
// B2022-088: Find Doc Ro button not working in Word Sections
|
||||
string roidBase = string.Empty;
|
||||
string roidExt = string.Empty;
|
||||
|
||||
string roid16 = ROFSTLookup.FormatRoidKey(roid, ref roidBase, ref roidExt, true);
|
||||
ROFSTLookup.rochild roc = lookup.GetRoChild(roid16);
|
||||
|
||||
string roval = roc.value;
|
||||
//string roval = (roc.ID < 0 || string.IsNullOrEmpty(roc.value)) ? "?" : roc.value;
|
||||
|
||||
if (roval == "?")
|
||||
{
|
||||
|
Reference in New Issue
Block a user