Closed bcswartz closed 11 years ago
Hi Brian, You are completely right! Funny thing is that on my dev environment (Railo 3.3 + Tomcat 7) the use of cgi.http_method didn't raise any error, and actually just returns an empty string. Moreover, the autocomplete of cfeclipse showed it as a member of the cgi scope (that's why I used it on the first place). And since the "source" attribute of the entry is no longer displayed on the UI I never thought much of it.
Anyway, I just replaced with the correct cgi variable (request_method) and pushed it to the master.
Thanks again for letting me know and I can't wait to see what you did for the Oracle compatibility, I'm sure there will be lots of folks who will welcome it.
Oscar
While working on making BugLogHQ compatible with Oracle (looking good so far, should have code to contribute back soon), I got an error while running the test of the REST listener on my local machine (Mac OS, Apache, CF 9.0.1). Tracked the error back to line 21 of BugLogListenerREST.cfm, where the source value for the bug log entry is pulled from "cgi.http_method".
Unless I'm missing something, there is no "http_method" key in the CGI scope. This line should be using cgi.request_method. Once I fixed that line on my machine, it worked fine.