Issues

Select view

Select search mode

 

regression: getMetadata Return No Longer Returns name for structs and arrays

Fixed

Description

The following code is now a shallow metadata representation with no name key

not a 6.2 regression, been broken for a while

Lucee 6 returns

Lucee 5 is the underlying java info

Environment

None

Attachments

7

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

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

Flag notifications