B2022-088: Find Doc Ro button not working in Word Sections
B2022-089: Updating RO Crashes
This commit is contained in:
@@ -342,8 +342,9 @@ namespace Volian.Print.Library
|
||||
ROFSTLookup.rochild rocc = lu.GetRoChild(roc.ROID);
|
||||
if (rocc.type == 1)
|
||||
{
|
||||
string newROValue = lu.GetRoValue(roc.ROID).Replace('`', '\xb0');
|
||||
string rotitle = string.Format("{0} - Current Version: {1}", lu.GetROTitle(roc.ROID), lu.GetRoValue(roc.ROID).Replace('`','\xb0'));
|
||||
// B2022-088: Find Doc Ro button not working in Word Sections
|
||||
string newROValue = lu.GetRoChild(roc.ROID).value.Replace('`', '\xb0');
|
||||
string rotitle = string.Format("{0} - Current Version: {1}", lu.GetROTitle(roc.ROID), lu.GetRoChild(roc.ROID).value.Replace('`','\xb0'));
|
||||
if (ros.ContainsKey(rotitle))
|
||||
{
|
||||
// B2021-025: Add 'Approved' to message here and in line below to help clarify report info
|
||||
|
@@ -4049,8 +4049,9 @@ namespace Volian.Print.Library
|
||||
else
|
||||
{
|
||||
string[] subs = m.Groups[3].Value.Split(" ".ToCharArray());
|
||||
val = lookup.GetRoValue(subs[1]);
|
||||
if (val == null || val == "?") val = lookup.GetRoValue(subs[1].Substring(0, 12));
|
||||
// B2022-088: Find Doc Ro button not working in Word Sections
|
||||
val = lookup.GetRoChild(subs[1]).value;
|
||||
if (val == null || val == "?") val = lookup.GetRoChild(subs[1].Substring(0, 12)).value;
|
||||
if (val == "?")
|
||||
{
|
||||
erMsg = string.Format("Referenced Object does not exist.");
|
||||
|
Reference in New Issue
Block a user