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 committed 2022-09-21 21:05:41 +00:00
1 parent 1d0dee974c
commit 7c9a722eba
3 files changed
+460 -13

No files matched your search

@@ -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);