Uploaded image for project: 'Reference Application'
  1. Reference Application
  2. RA-1862

Reference Metadata should only install built-in reports

    XMLWordPrintable

Details

    • L

    Description

      1. Description

      Reference Metadata's activator scans for all beans that implement ReportManager which is intrusive (see here):

      ReportManagerUtil.setupAllReports(ReportManager.class);
      

      This may end up installing unwanted reports whose report manager happen to be available as a bean.

      2. Suggested Solution

      Let us have all Reference Application built-in reports's report managers to extend their own class -say- ReferenceApplicationReportManager and filter them on that basis:

      ReportManagerUtil.setupAllReports(ReferenceApplicationReportManager.class);
      

      Gliffy Diagrams

        Attachments

          Activity

            People

              dkayiwa Daniel Kayiwa
              mksd Dimitri R
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: