attributeCollection attempts to set missing properties on CFTagCore

Description

When using attributeCollection, there are a lot of caught exceptions

<cfdump attributeCollection="#arguments#" contextlevel="3">

https://github.com/lucee/Lucee/blob/6.2/core/src/main/java/resource/library/function/writeDump.cfm#L25

[java] [script] java.lang.NoSuchMethodException: No matching method for lucee.runtime.tag.CFTagCore.setShow(Object) found. [java] [script] at lucee.transformer.dynamic.meta.dynamic.ClazzDynamic.getMethod(ClazzDynamic.java:273) [java] [script] at lucee.runtime.reflection.pairs.MethodInstance.getInstance(MethodInstance.java:163) [java] [script] at lucee.runtime.reflection.pairs.MethodInstance.getMethod(MethodInstance.java:153) [java] [script] at lucee.runtime.reflection.pairs.MethodInstance.getMethod(MethodInstance.java:129) [java] [script] at lucee.runtime.reflection.Reflector.getSetter(Reflector.java:1083) [java] [script] at lucee.runtime.reflection.Reflector.getSetter(Reflector.java:1076) [java] [script] at lucee.runtime.tag.TagUtil.setAttribute(TagUtil.java:179) [java] [script] at lucee.runtime.tag.TagUtil.setAttributes(TagUtil.java:168) [java] [script] at lucee.runtime.tag.TagUtil.setAttributeCollection(TagUtil.java:142) [java] [script] at writedump_cfm$cf.udfCall(/writeDump.cfm:25)

Lucee is trying to set properties on the CFTagCore class, rather than the actual tag class

https://github.com/lucee/Lucee/blob/6.2/core/src/main/java/lucee/runtime/tag/CFTagCore.java

Environment

None

Attachments

1
  • 28 Mar 2025, 09:10 pm

Activity

Show:

Zac Spitzer 28 March 2025 at 21:21

yup, fixed

Zac Spitzer 28 March 2025 at 21:10

repo-ed via

image-20250328-211024.png

now running with this snapshot, shows up at the end of the test run, testbox uses writedump, which triggers this

Michael Offner 28 March 2025 at 20:53

please verify if they are gone

Michael Offner 28 March 2025 at 16:28

this is not a regression and not necessarily a bug, so i moved it to the next sprint, this sprint is in RC state.

Fixed

Details

Assignee

Reporter

Priority

Fix versions

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

Sprint

Created 15 January 2025 at 09:50
Updated 28 March 2025 at 21:34
Resolved 28 March 2025 at 21:21

Flag notifications