Skip to main content
Participating Frequently
December 10, 2007
Question

dbvarname NOT ignored completely in CF8

  • December 10, 2007
  • 2 replies
  • 527 views
While dbvarname is supposedly ignored in CF8, we have experienced an error thrown on proc calls that have dbvarname specified for the IN parameters, but not the OUT parameters. This code works fine in CF7.

We are trying to put a CF8 migration plan in place, and this could be the show-stopper for us. Our codebase is huge, with hundreds if not thousands of proc calls, most of which do not have dbvarname specified for the OUT parameters.

Is there a way to stop the hard-error that results in these cases? A configuration setting somewhere? We are on a time-table for migration to support our next release in March 2008.
This topic has been closed for replies.

2 replies

kejonesAuthor
Participating Frequently
June 26, 2008
I am also quite disappointed that this was not addressed in the CF8.01 updater. I've moved onto a new position, and we're running into this problem with a migration here as well.

The regex pattern above looks for dbvarname="somevalue". There can be whitespace around the equal-sign, and the value quotes can be single or double quotes. Added the comment bit because the big bonus of dbvarname, while being totally ignored in CF since version 5, I think, is the documentation benefit.
Participating Frequently
June 26, 2008
I have the same problem. how come no one from Adobe didn't respond to that, though i would be fixed on the hot fix. still no fix yet. right now not able to upgrade to CF8. Please someone from Adobe consider this issue. we have large application to update
kejonesAuthor
Participating Frequently
June 26, 2008
I've written a regex pattern to strip dbvarname attribute and value from tags, and add the value as a comment after the tag. If you do a search/replace from within CFEclipse, it works great. I've attached as code (hopefully this will post okay):