Pls help on that STRANGE runtime error in CF10 or FW/1
hi there
using cf10 and FW/1 2.0 I face this EXTREEMLY STRANGE error
Please consider that code
application.utils.logme (data=#rc#, when= true, label="After addr");
if (rc.disclose_fons is 1) {
contact_coords &= (rc.res_answer_req.data.REE_FON gt "" ? rc.res_answer_req.data.REE_FON & "<br>" : "") &
(rc.res_answer_req.data.REE_MOBILE gt "" ? rc.res_answer_req.data.REE_MOBILE & "<br>" : "");
}
application.utils.logme (data=#rc#, when= true, label="After fons");
will come to here in any case of rc.disclose_fons ...
if (rc.disclose_mail is 1) {
contact_coords &= rc.res_answer_req.data.REE_EMAIL & "<br>";
}
WILL NOT COME TO THIS Logger regardless of the value in rc.disclose_mail!
So the error is generated by the line above .. be assured that all values and elements of rc.* are present and filled.
application.utils.logme (data=#rc#, when= true, label="After mail");
and now the runtime error I've never seen to far
Error: Variable ___IMPLICITARRYSTRUCTVAR17 is undefined.
Type: Expression
of course, display is by FW/1 but it's only catching the underlying stuff ....
Please note the missing A in ARRY ... don't know from where it comes but anyway.
The other day, I already found a very ugly but similar bug in Cf 9.0.1 regarding the form validation stuff .. disclose_mail is a form field. hwoever, i also tried disclose_email with the same error results. Please note that I do have this.serverSideFormValidation = false; in my application.cfc.
i also put the contact_coords into the rc structure of FW/1 to have it dumped. I attach a scrshot to show the values in step "after fons":

any hints or clues?
Thanks,
Martin
