expand() function not handling string containing # character after upgrade to 17.2

book

Article ID: 195545

calendar_today

Updated On:

Products

CA Service Desk Manager CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Desk Manager - Mobile Application CA Service Desk Manager - Xtraction

Issue/Introduction

expand() function not working after upgrade to 17.2 version. 
It is not processing string containing # character
example:
expand('Test for #expand')
output: Test for d


Cause

Reproduced in lab.

- Create expandtest.frg with content:

expandtest (string str) {
printf("Given input str=%s\n",str);
str = expand(str);
printf("expand output=%s\n\n",str);
}

- Then , execute it using below command:

bop_cmd -f expandtest.frg "expandtest('Test for #expand')"
Given input str=Test for #expand
expand output=Test for d

Environment

Release : 17.2

Component : SERVICE DESK MANAGER

Resolution

Defect DE55620.
Product defect would be fixed as per Severity "S3" criteria of the Defect Resolution Process.


Additional Information