Skip to content

bug: placeOrder backwards incompatible changes included in patch from v2.4.6-p7 -> v2.4.6-p8. #39282

Closed
@damienwebdev

Description

@damienwebdev

As a developer, I want my app to continue working after I apply security patches.

  1. Be on Magento v2.4.6-p7, with a working application.
  2. Upgrade to v2.4.6-p8 on release day because there are security vulnerabilities.
  3. Break existing user-facing workflows because semver doesn't matter and software is a meme.
  4. Wonder how this commit made it into a security release.

For reproduction:

  1. Run placeOrder on v2.4.6-p7 and expect an error graphql response.
  2. Write code based on the behavior of v2.4.6-p7
  3. Upgrade to v2.4.6-p8
  4. Run placeOrder on v2.4.6-p7 and expect an error graphql response.
  5. (BREAKING CHANGE) Get a "success" response with a null for data with a new "errors" key.
{
    "data": {
        "placeOrder": {
            "order": null,
            "__typename": "PlaceOrderOutput"
        }
    }
}

I'm getting painfully bored and tired of breaking applications because I try to have good security routines like applying security patches the day of release.

https://experienceleague.adobe.com/en/docs/commerce-operations/release/notes/security-patches/2-4-6-patches contains no mention of this BiC change.

If a change results in user programs breaking, it's a bug in the kernel. We never EVER blame the user programs. How hard can this be to understand?

Seriously. Do better.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions