B2022-064: Print with less than symbol in Unit Specific RO value in table causes empty table to print
This commit is contained in:
parent
e5cba62b95
commit
f55ed7f3ef
@ -1077,6 +1077,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
else
|
else
|
||||||
newvalue = newvalue.Replace(@"\u9586?", m.Groups[1].Value + @"\u9586?" + m.Groups[3].Value);
|
newvalue = newvalue.Replace(@"\u9586?", m.Groups[1].Value + @"\u9586?" + m.Groups[3].Value);
|
||||||
}
|
}
|
||||||
|
// B2022-064: Translate '<' to '<', '<' is xml token, so xml grid string was incorrect for print.
|
||||||
|
// Note that the '>' symbol was also translated. This method does NOT save the string to database,
|
||||||
|
// it is used for setting grid data xml string before printing. This method resolves symbols
|
||||||
|
// (above - not bug fix) and untit specific ROs (this bug fix):
|
||||||
|
if (newvalue.Contains("<")) newvalue = newvalue.Replace("<", "<");
|
||||||
|
if (newvalue.Contains(">")) newvalue = newvalue.Replace(">", ">");
|
||||||
|
|
||||||
if (gg != newvalue)
|
if (gg != newvalue)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user