Lucee icon indicating copy to clipboard operation
Lucee copied to clipboard

Add failing test for getMetadata on UDFs

Open elpete opened this issue 4 years ago • 6 comments

Lucee does not respect a @description in a docblock but does as a function annotation.

I tried to find where I would adjust this in code but no luck. Hopefully the failing test case helps.

elpete avatar Mar 03 '22 23:03 elpete

@elpete Is there a ticket for this?

bdw429s avatar Mar 03 '22 23:03 bdw429s

Probably not. I was just tinkering with it with some cbvalidation changes.

elpete avatar Mar 04 '22 01:03 elpete

Cool, I'll create one. I think I MAY have found the logic in Lucee that deals with this. "description" is some sort of special annotation the parser looks for and it has some special handling. I couldn't confirm it however without creating a custom compiled version of Lucee with debugging in place and I didn't care about it that much, lol.

bdw429s avatar Mar 04 '22 16:03 bdw429s

Ticket: https://luceeserver.atlassian.net/browse/LDEV-3899

bdw429s avatar Mar 04 '22 17:03 bdw429s

@elpete can you rebase (not via the web ui, it doesn't trigger a build) this PR, once it's run thru a build, then add labels="metadata" and skip="true" so I can merge it?

zspitzer avatar Aug 05 '22 15:08 zspitzer

@zspitzer Done.

elpete avatar Aug 08 '22 17:08 elpete