Magento2: Issue with Product Review when disabled from admin

Created on 23 Oct 2019  路  10Comments  路  Source: magento/magento2

There is no proper check in controller if product review is disabled from admin

Preconditions (*)

  1. Magento 2.3.3

Steps to reproduce (*)

  1. Open Product page from frontend and go to add review section
  2. Now login into Admin.
  3. Disable Product Review from admin. Navigate to Store > Configuration then Catalog > Catalog now disable Product Reviews
  4. Now go to opened product page on frontend and submit review

1

Selection_026

Expected result (*)

  1. Customer or Guest should not be able to submit review and there should be no route page as Product Reviews setting is disabled from admin.

Actual result (*)

  1. Customer or Guest is able to submit review.
    2

Selection_025

Frontend Review Clear Description Format is valid Reproduced on 2.3.x non-issue

Most helpful comment

It's not an issue.

If merchant disables review functionality he has to expect that somebody who is in the progress of submitting a review wants to be able to finish it.
I think interrupting customers during this action is bad user experience.
In case if the review form would be opened for a too long time - form key just will be invalidated.

All 10 comments

Hi @rahulwebkul. 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:

  • [x] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [x] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [x] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [x] 4. Verify that the issue is reproducible on 2.3-develop branch
    Details- Add the comment @magento give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

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

  • [x] Summary of the issue
  • [x] Information on your environment
  • [x] Steps to reproduce
  • [x] Expected and actual results

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.3-develop instance - upcoming 2.3.x release

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

@rahulwebkul do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [x] yes
  • [ ] no

@magento give me 2.3-develop instance

Hi @rahulwebkul. Thank you for your request. I'm working on Magento 2.3-develop instance for you

Hi @rahulwebkul, here is your Magento instance.
Admin access: https://i-25227-2-3-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

I am able to reproduce this issue on Magento vanilla instance

Hi @krishprakash. 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:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 5. Add label Issue: Confirmed once verification is complete.

  • [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.

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

Issue Available: @krishprakash, _You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself._

It's not an issue.

If merchant disables review functionality he has to expect that somebody who is in the progress of submitting a review wants to be able to finish it.
I think interrupting customers during this action is bad user experience.
In case if the review form would be opened for a too long time - form key just will be invalidated.

Agree with @Stepa4man.
Closing as not an issue.

Was this page helpful?
0 / 5 - 0 ratings