B2022-121: RO values containing curly braces around values that are NOT multi return values do not resolved in Word Sections.

This commit is contained in:
Jake
2022-09-21 21:05:41 +00:00
parent 1d0dee974c
commit 7c9a722eba
3 changed files with 460 additions and 13 deletions

View File

@@ -1373,7 +1373,8 @@ namespace VEPROMS.CSLA.Library
// Check the end of the AccPageID to determine if its an extension or part of the base key
// If the AccPageID doesn't have an extension then set to default
if (!Regex.IsMatch(accPageID, @".*\.[A-Z]") || BaseAccPageKeys.Contains(accPageID))
// B2022-121: RO values containing curly braces around values that are NOT multi return values do not resolved in Word Sections.
if (!Regex.IsMatch(accPageID.Substring(accPageID.Length - 2, 2), @".*\.[A-Z]") || BaseAccPageKeys.Contains(accPageID))
{
// No Extension, set to default
accPageID = string.Format("{0}.A", accPageID);