Issues
regression: getMetadata Return No Longer Returns name for structs and arrays
Fixed
Description
Environment
None
Attachments
7
Details
Assignee
Pothys - MitrahSoftPothys - MitrahSoftReporter
Jon ClausenJon ClausenPriority
NewFix 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
Affects versions
Details
Details
Assignee
Pothys - MitrahSoft
Pothys - MitrahSoftReporter
Jon Clausen
Jon ClausenPriority
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
Affects versions
Created 6 March 2025 at 18:23
Updated 18 March 2025 at 07:21
Resolved 14 March 2025 at 14:12
Activity
Show:
Pothys - MitrahSoft18 March 2025 at 07:21
I have tested this ticket with Lucee version 6.2.1.75-SNAPSHOT. When I checked the getMetadata().name
, it now returns the name of the class, and the issue encountered has been resolved. It works fine now
Dan Murphy18 March 2025 at 04:15
Tested with the cbSwagger package and all is working again with this fix in place. Thanks!
Michael Offner17 March 2025 at 13:00
test case:
Michael Offner17 March 2025 at 11:02
we added the element “name“ to the struct returned by getMetadata(struct|array), that way code like getMetadata([]).name
works again.
Michael Offner17 March 2025 at 11:00
Lucee 6.2
The following code is now a shallow metadata representation with no
name
keynot a 6.2 regression, been broken for a while
Lucee 6 returns
Lucee 5 is the underlying java info