Javadoc style metadata definitions not working

Description

The javadoc style comments are not working the same way they are in ACF10+. Take the following component:

component accessors="true" { /** * Here is a doc style hint comment. * @default "[default]" */ property name="from" type="string"; public any function from( required any from ){ variables.from = arguments.from; return this; } }

In ACF, invoking a new instance of the above component, you will get [default] when you call x.getFrom(). However, in Lucee 5.3.6.61 it's returning a reference to the from public method.

I've attached a zip that shows the behavior.

Attachments

1
  • 07 Aug 2020, 02:53 pm

Activity

Show:

Pothys - MitrahSoft 10 August 2020 at 13:56
Edited

I've checked and confirmed this issue happened with latest version of lucee 5.3.8.21-SNAPSHOT too. And I've added a test case for this ticket.

Pull request: https://github.com/lucee/Lucee/pull/999

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 7 August 2020 at 14:58
Updated 28 August 2020 at 13:11

Flag notifications