Highlighted

Snake lettering variable names reset?

Explorer ,
Aug 15, 2014

Copy link to clipboard

Copied

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.

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. 

Views

90

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Snake lettering variable names reset?

Explorer ,
Aug 15, 2014

Copy link to clipboard

Copied

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.

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. 

Views

91

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 15, 2014 0
Explorer ,
Aug 15, 2014

Copy link to clipboard

Copied

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. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 15, 2014 0
kpetrow LATEST
Explorer ,
Aug 15, 2014

Copy link to clipboard

Copied

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. 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 15, 2014 0