B2017-019 Don’t cook applicability ROs (ex <u>) when displaying for editing
B2017-019 handle <u> in DisplayNumber
This commit is contained in:
@@ -291,7 +291,7 @@ namespace VEPROMS.CSLA.Library
|
||||
text = DoReplaceWords2(text);
|
||||
ProfileTimer.Pop(profileDepth1);
|
||||
}
|
||||
if (_MyItemInfo != null)
|
||||
if (_MyItemInfo != null && ROsShouldBeAdjusted) // B2017-019 - added check for ROsShouldBeAdjusted so that these token are not "cooked" on property pages
|
||||
{
|
||||
text = Regex.Replace(text, @"\<U\>", _MyItemInfo.MyDocVersion.DocVersionConfig.Unit_Number, RegexOptions.IgnoreCase);
|
||||
text = Regex.Replace(text, @"\<(U(-|\\u8209\?)ID)\>", _MyItemInfo.MyDocVersion.DocVersionConfig.Unit_ID, RegexOptions.IgnoreCase);
|
||||
|
Reference in New Issue
Block a user