Calling getBaseTagList() inside CFModule execution.

Description

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: https://www.bennadel.com/blog/4007-getbasetaglist-behavior-with-different-coldfusion-custom-tag-invocations-and-engines.htm

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

Activity

Show:

Mauro Caresimo 2 November 2023 at 08:58

Anymore Progress on this issue guys?

Zac Spitzer 27 October 2022 at 12:25

6.0

Pothys - MitrahSoft 28 September 2022 at 13:19

I added a testcase to this ticket

Pull Request:

Ben Nadel 21 April 2021 at 12:27

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:

https://www.bennadel.com/blog/4031-expected-and-unexpected-getbasetagdata-behavior-in-lucee-cfml-5-3-7-47.htm

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 16 March 2021 at 07:48

I've checked this ticket and confirmed the issue happened on lucee latest version 5.3.8.159-SNAPSHOT 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.

Details

Assignee

Reporter

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Priority

Created 14 March 2021 at 21:14
Updated 2 November 2023 at 10:37