ACF2021: including a nested description cfm file within a describe block throws an exception


In a test bundle, if you include a file within a describe() function and that file contains a (nested) describe() function with at least one test, ACF2021 throws the following error:

Earlier versions of ACF don't error, so clearly an ACF bug rather than Testbox, but just logging it here.

Affects the lucee-spreadsheet test suite (which also runs on ACF2016+).


Luis Majano
November 12, 2020, 6:33 PM

Thanks Did you report it to ACF?

Brad Wood
November 13, 2020, 6:10 PM

This appears to be the same issue I’ve reported here that’s breaking ColdBox

Adobe has somehow changed how scopes work entirely with cfinclude files. I was unable to reproduce it in a standalone repro case so it seems to require some sort of complex criteria to present itself.

Either way, it’s clearly a bug in Adobe CF 2021.

Julian Halliwell
November 14, 2020, 10:06 AM

No, I haven’t, but it sounds like Brad has. I attached a simple repro case within TestBox. Agree with you both it’s 100% an ACF bug, but worth logging here too.


Luis Majano


Julian Halliwell