Skip to content

[Backend] Fixed the dashboard statistics refreshing button #20803

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

eduard13
Copy link
Contributor

@eduard13 eduard13 commented Jan 30, 2019

Description (*)

This PR fixes the refresh the statistics, and provide the same approach as other buttons work (Ship Order, Reorder, etc.)

Fixed Issues (if relevant)

  1. [Backend] Dashboard Refresh Statistics action redirects to 404 #20802: [Backend] Dashboard Refresh Statistics action redirects to 404
  2. ...

Manual testing scenarios (*)

  1. Open the backend (on Dashboard)
  2. Click on the Reload Data button

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

@magento-engcom-team
Copy link
Contributor

Hi @eduard13. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me 2.3-develop instance - deploy vanilla Magento instance

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

@magento-engcom-team magento-engcom-team added Area: Frontend Component: Backend Release Line: 2.3 Partner: Atwix Pull Request is created by partner Atwix partners-contribution Pull Request is created by Magento Partner labels Jan 30, 2019
@rogyar
Copy link
Contributor

rogyar commented Jan 30, 2019

@magento-engcom-team give me test instance

@magento-engcom-team
Copy link
Contributor

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

@magento-engcom-team
Copy link
Contributor

Hi @rogyar, here is your new Magento instance.
Admin access: https://pr-20803.instances.magento-community.engineering/admin
Login: admin Password: 123123q

@@ -8,21 +8,13 @@
<div class="page-actions-inner">
<div class="page-actions-buttons">
<?= $block->getChildHtml() ?>

<form class="action-element"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend another solution here. Removing the form and form key looks not very good considering the fact that the current approach works well on 2.2-develop

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've reverted and adjusted the implementation of RefreshStatistics controller.
Thank you.

@rogyar
Copy link
Contributor

rogyar commented Jan 30, 2019

@magento-engcom-team give me test instance

@magento-engcom-team
Copy link
Contributor

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

@magento-engcom-team
Copy link
Contributor

Hi @rogyar, here is your new Magento instance.
Admin access: https://pr-20803.instances.magento-community.engineering/admin
Login: admin Password: 123123q

@magento-engcom-team
Copy link
Contributor

Hi @rogyar, thank you for the review.
ENGCOM-4054 has been created to process this Pull Request

@ghost
Copy link

ghost commented Feb 10, 2019

Hi @eduard13, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants