Fix discovery of properties on fields annotated with @Delegate

Description

The user would like properties to show only once and in the proper location in the reportable property listing for the custom report creator. Currently, the system is showing duplicate properties for nested properties annotated with @Delegate. This is because when using @Delegate, the AST transformation pulls properties up from the nested class to the current class level and does not include annotations along with those properties by default. We want to preserve those annotations. We also want to update the discovery of reportable properties to not traverse the actual property annotated with @Delegate as these will be discovered with the containing class.

  • Update usages of @Delegate on entities setting the methodAnnotations attribute to true

  • Update the reportable property discovery to never traverse any property that is annotated with @Delegate

Environment

None

Activity

Fixed

Details

Assignee

Reporter

Fix versions

Times Requested

1

Source

120 Eligible

Yes

Time tracking

6h logged

Components

Affects versions

Priority

Better PDF Exporter

Created December 6, 2017 at 5:34 PM
Updated February 22, 2018 at 3:29 PM
Resolved February 22, 2018 at 3:29 PM

Flag notifications