dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
862 stars 468 forks source link

Remove invalid "View Statistics" Link #22131

Closed ian-b-cooper closed 2 years ago

ian-b-cooper commented 2 years ago

Describe the bug When right clicking on a page asset within the "site browser" portlet, there is an option to "view statistics" of the page. Currently, when you try to access that functionality, a loading bar shows up and the page never loads.

To Reproduce

  1. Go to demo.dotcms.com
  2. Right click on any page asset
  3. Select "view statistics"
  4. See error

Expected behavior The "view statistics" page would load as expected

Screenshots

Screen Shot 2022-05-03 at 6 28 57 AM

Screen Shot 2022-05-03 at 6 28 34 AM

Desktop (please complete the following information):

Additional context As requested by a customer: https://dotcms.zendesk.com/agent/tickets/107197

The customer has also requested a way to view all page statistics centrally

wezell commented 2 years ago

Remove the button when clickstreams are disabled

alfredo-dotcms commented 2 years ago

PR: https://github.com/dotCMS/core/pull/22201/files

fabrizzio-dotCMS commented 2 years ago

I can confirm that the view statistics option goes away from the pop-up menu once the ENABLE_CLICKSTREAM_TRACKING option is set to false.

Clickstream has issues loding but it doesnt matter since it is destinated to be removed.

bryanboza commented 2 years ago

Fixed, tested on release-22.07 // Docker // FF