magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.56k stars 9.32k forks source link

Admin dashboard Most Viewed Products Tab statistics not updating, database table also not updating. #33389

Closed VikasSingh1694 closed 4 months ago

VikasSingh1694 commented 3 years ago

Summary (*)

In the Magento admin dashboard, no products are showing in the most viewed product grid if all products are in different attribute sets (not in default attribute set), even with Magento sample data this grid is always displaying "We couldn't find any records.". while a visit to many products with registered users.

Preconditions

Magento ver. 2.4.1 with sample data

Steps to reproduce

  1. log in to the Magento admin panel
  2. Update "Refresh lifetime statistics" for "Most Viewed" from Reports -> Refresh Statistics
  3. Click on "Reload Data" from the admin dashboard
  4. Check the Most view product tab from the admin dashboard.

Actual Result It should update the viewed products

123

m2-assistant[bot] commented 3 years ago

Hi @VikasSingh1694. Thank you for your report. To help us process this issue please make sure that you provided the following information:

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

Please, add a comment to assign the issue: @magento I am working on this


:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket.

:movie_camera: You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] commented 3 years ago

Hi @engcom-Hotel. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

engcom-Hotel commented 3 years ago

Hello @VikasSingh1694,

I suggest you to please click on "Reload Data" button on the admin dashboard and check if "Most Viewed Products" are coming the related tab or not.

You can also try on the magento 2 admin panel , go to reports -> statistics -> click on refresh statistics -> on this page select all the values from the top and choose refresh lifetime statistics -> then click on submit.

Please let us know if it is works for you.

VikasSingh1694 commented 3 years ago

Hi @engcom-Hotel, I have tried those steps already, but that didn't work for me. I have also checked the related database table, there is also no entry related this.

engcom-Hotel commented 3 years ago

Hello @VikasSingh1694,

We are confirming this issue with an updated description in the section "Steps to reproduce".

Thanks

magento-engcom-team commented 3 years ago

:white_check_mark: Confirmed by @engcom-Hotel Thank you for verifying the issue. Based on the provided information internal tickets MC-42880 were created

Issue Available: @engcom-Hotel, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

engcom-Bravo commented 4 months ago

Hi @VikasSingh1694,

Thanks for your reporting and collaboration.

We have verified the issue in Latest 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots.

Screenshot 2024-06-20 at 11 52 29 Screenshot 2024-06-20 at 11 52 53

We have updated statistics as well still we are not able to see Most Viewed Products from Reports.

Hence we are confirming the issue.

Thanks.

github-jira-sync-bot commented 4 months ago

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-12269 is successfully created for this GitHub issue.

m2-assistant[bot] commented 4 months ago

:white_check_mark: Confirmed by @engcom-Bravo. Thank you for verifying the issue.
Issue Available: @engcom-Bravo, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

VikasSingh1694 commented 4 months ago

Hi @engcom-Bravo ,

This is issue because it's not updating automatically. But you can update this data using report menu then select statics and refresh lifetime or specific time. Then you can find the graph. Please try that way.

KrasnoshchokBohdan commented 4 months ago

@magento I am working on this

NitrogenUA commented 4 months ago

@engcom-Bravo Reports are by default disabled. While having reports enabled I was unable to reproduce this issue. Can you please verify? Reference to enable reports: https://magento.stackexchange.com/a/325408/115540

KrasnoshchokBohdan commented 4 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 4 months ago

Hi @KrasnoshchokBohdan. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 4 months ago

Hi @KrasnoshchokBohdan, here is your Magento Instance: https://0d714947ce217fa801979c073bcecec2.instances-prod.magento-community.engineering Admin access: https://0d714947ce217fa801979c073bcecec2.instances-prod.magento-community.engineering/admin_fd25 Login: 960debb5 Password: 56147da9b9cc

KrasnoshchokBohdan commented 4 months ago

Checked on a new instance, the issue was not reproduced with the configuration turned on. (Store -> Setting -> Configuration -> General -> Reports -> General Options-> Enable Reports)

image image
engcom-Bravo commented 4 months ago

@magento give me 2.4-develop instance

magento-deployment-service[bot] commented 4 months ago

Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you.

magento-deployment-service[bot] commented 4 months ago

Hi @engcom-Bravo, here is your Magento Instance: https://0d714947ce217fa801979c073bcecec2.instances-prod.magento-community.engineering Admin access: https://0d714947ce217fa801979c073bcecec2.instances-prod.magento-community.engineering/admin_4499 Login: 869406bf Password: 643caef066b7

engcom-Bravo commented 4 months ago

Hi @KrasnoshchokBohdan,

Thanks for your Contribution!!

We have verified the issue in Latest 2.4-develop instance and the issue is no more reproducible.Kindly refer the screenshots.

Screenshot 2024-07-17 at 12 09 51

We are able to view the products.

Hence we are closing this issue.

Thanks.