[BUG] Database reader source XML tags casing is no longer all lowercase in 3.12.0 #5083
Labels
bug
Something isn't working
Fix-Commited
Issue fixed and will be available in milestone
Internal-Issue-Created
An issue has been created in NextGen's internal issue tracker
RS-7366
triaged
Milestone
Describe the bug
Using the Database Reader, the generated XML message used to always convert the result tags to lowercase. But in 3.12.0, it instead follows the casing that was provided by the SELECT statement.
To Reproduce
SELECT MYTABLE.TESTID AS TESTID FROM MYTABLE
tmp['row']['column1'] = validate(msg['testid'].toString(), '', new Array());
Expected behavior
The resulting XML message should have lowercase tags.
Actual behavior
The resulting XML message follows the casing from the SELECT statement.
Environment (please complete the following information):
Workaround(s)
Change the aliases in the SELECT statement to be all lowercase, i.e.
SELECT MYTABLE.TESTID AS testid FROM MYTABLE
Additional Context
Relates to #4878
The text was updated successfully, but these errors were encountered: