Adobe-Consulting-Services / acs-aem-commons

http://adobe-consulting-services.github.io/acs-aem-commons/
Apache License 2.0
451 stars 597 forks source link

Replication Status is always rendered as NOT_ACTIVATED when downloading the Report as CSV #2812

Open gquintillan opened 2 years ago

gquintillan commented 2 years ago

Required Information

Expected Behavior

When downloading a report as CSV the "Replication Status Column" (documentation) must show the same value than in the HTML rendered report.

Actual Behavior

When downloading a report as CSV the "Replication Status Column" always shows the status "NOT_ACTIVATED"

image

After debugging the code this is what I found:

Steps to Reproduce

  1. Navigate to ACS Commons Reports: /apps/acs-commons/content/reports.html
  2. Open the sample Page Report: /editor.html/var/acs-commons/reports/sample-page-report.html
  3. Select the "Path" of a known site, for instance: /content/we-retail (make sure that there are published pages)
  4. Click on "Execute Report.
  5. Click on "Download Report"
  6. Compare the Replication Status Column.

Links

davidjgonzalez commented 2 years ago

Fixed with https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/2820

gquintillan commented 2 years ago

Fixed with #2820

Thank you!

davidjgonzalez commented 1 year ago

Fixed in 5.3.0

gouli commented 1 year ago

This issue still exists with version 5.3.0 - Can this task be re-opened ?

davidjgonzalez commented 1 year ago

Sure - can you PR a fix when you have a moment? Might be helpful to post your AEM version and ACS Commons version as well - since this was fixed before and now seems to have broken again; will be interesting to understand the cause a bit more.