Skip to content

Update Queryhelper.cfc, resolves odd column names#7

Open
dheighton wants to merge 1 commit intoliquifusion:masterfrom
dheighton:master
Open

Update Queryhelper.cfc, resolves odd column names#7
dheighton wants to merge 1 commit intoliquifusion:masterfrom
dheighton:master

Conversation

@dheighton
Copy link
Copy Markdown

Change the column name creation in queryhelper.cfc to fix an issue with specifically the aging report, but could show up elsewhere if illegal characters were in the column name. Code also appends custom_ in front of custom fields, and appends just an _ if the field starts with a numeric character, which is illegal only as the starting character in Coldfusion Query objects.

Fixes issue #6

This does not address the same bug happening in the Coldfusion implementation of XMLRPC, which issue #3 deals with.

Change the column name creation in queryhelper.cfc to fix an issue with specifically the aging report, but could show up elsewhere if illegal characters were in the column name. Code also appends custom_ in front of custom fields, and appends just an _ if the field starts with a numeric character, which is illegal only as the starting character in Coldfusion Query objects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant