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.57k stars 9.32k forks source link

Invoice cancel form backend 404 error #39299

Closed Syamsg closed 3 weeks ago

Syamsg commented 1 month ago

Preconditions and environment

Steps to reproduce

Place an order and create an invoice without capturing payment. After creating the invoice, view the invoice and then attempt to cancel it from the backend.

image

Expected result

Successfully invoice get cancelled

Actual result

404 error image

Additional information

"This error occurred due to commit 3e637056d1031185c7c8989f7a24302cecb5b27b, where Magento\Framework\App\Action\HttpPostActionInterface was implemented for the controller Magento\Sales\Controller\Adminhtml\Order\Invoice\Cancel instead of Magento\Framework\App\Action\HttpGetActionInterface."

Release note

No response

Triage and priority

m2-assistant[bot] commented 1 month ago

Hi @Syamsg. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce.

m2-assistant[bot] commented 1 month ago

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

Syamsg commented 4 weeks ago

Invite me to the slack work space iam not able to join by myself

On Fri, Oct 25, 2024, 12:00 PM m2-assistant[bot] @.***> wrote:

Hi @engcom-Bravo https://github.com/engcom-Bravo. 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: 👇

    1. Verify that issue has all the required information. ( Preconditions, Steps to reproduce, Expected result, Actual result).
    1. Verify that issue has a meaningful description and provides enough information to reproduce the issue.
    1. Add Area: XXXXX label to the ticket, indicating the functional areas it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branchDetails- If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
  • If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!
    1. Add label Issue: Confirmed once verification is complete.
    1. Make sure that automatic system confirms that report has been added to the backlog.

— Reply to this email directly, view it on GitHub https://github.com/magento/magento2/issues/39299#issuecomment-2436985967, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUQG7AZXFMECH67E3WMQ6WDZ5HQR5AVCNFSM6AAAAABQSSAVC6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZWHE4DKOJWG4 . You are receiving this because you were mentioned.Message ID: @.***>

engcom-Bravo commented 3 weeks ago

Hi @Syamsg,

Thanks for your reporting and collaboration.

Similar issue has been reported here https://github.com/magento/magento2/issues/39298

Hence we are closing this duplicate.

Thanks