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

Description

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+).

Activity

Show:
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

https://tracker.adobe.com/#/view/CF-4210899

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.

Assignee

Luis Majano

Reporter

Julian Halliwell

Labels

None

Priority

Minor
Configure