Skip to main content
Inspiring
August 15, 2014
Answered

Snake lettering variable names reset?

  • August 15, 2014
  • 2 replies
  • 262 views

I have two variables date_end and Date_end_time.  The form when being dumped is setting date_end to a {t 00:00:00} and not passing the date.  When i look at the scope i see:

DATE_END=01/01/2014

DATE_END_TIME=

but when i dump the form i get:

DATE_END{t '00:00:00'}
DATE_END_TIME[empty string]

When i dump the form in application the variables are corect.  Is there some funky coldfusion bs going on?  like _required?  this is annoying.

    This topic has been closed for replies.
    Correct answer kpetrow

    sure as shit is.  For some reason _time is messing with variable with not _time.  Snake lettering should not trigger hidden functions.  That took me nearly 3 hours to track down. 

    2 replies

    kpetrowAuthor
    Inspiring
    August 15, 2014

    Worse than C where you can overload an operator.  Atleast an operator triggers a function. Here you have a hidden string character in a variable name trigger a hidden function. 

    kpetrowAuthorCorrect answer
    Inspiring
    August 15, 2014

    sure as shit is.  For some reason _time is messing with variable with not _time.  Snake lettering should not trigger hidden functions.  That took me nearly 3 hours to track down.