Calling getBaseTagList() inside CFModule execution.


Given a ColdFusion template, MyTag.cfm, if you invoke this template using the <CFModule> tag, calling getBaseTagList() from within the template will give you the following:

  • Adobe ColdFusion: cf_MyTag

  • Lucee CFML: cfmodule

Demonstrated in more detail here:

This is a very minor issue, specially since calling getBaseTagList() from with in CFModule appears to be quite limited in both ACF and Lucee.


Ben Nadel
April 21, 2021, 12:27 PM

I believe I stumbled upon a related issue with - possibly - the same root cause. It seems that in Lucee CFML, a template invoked with CFModule does not expose data via the getBaseTagData() function. I’ve written about it here:

That said, I wonder if the issue is simple that the tag shows up as CFModule, not as CF_XYZ. Maybe there is some check in the core code that only tries to access data for CF_ style expressions?

Pothys - MitrahSoft
March 16, 2021, 7:48 AM

I've checked this ticket and confirmed the issue happened on lucee latest version also. Invoke the custom tag using cfmodule with getbasetaglist() returns CFMODULE instead of CF_customTagName. Seems ACF returns CF_customTagName. Invoke with the custom tag name and cfimort returns CF_customTagName in lucee too.

Your pinned fields
Click on the next to a field label to start pinning.


Michael Offner


Ben Nadel