Scenario 2

Steps to reproduce:

When 2.4.4 merchants run the composer update command, then the same packages (modules) listed above in Scenario 1 get upgraded to their newer versions which are compatible only with version 2.4.5 and are not supposed to be used with version 2.4.4.

Expected results:

The upgrade from version 2.4.4 to 2.4.4-p1 results in the correct packages (modules) for version 2.4.4-p1.

Actual results:

Packages (modules) are downgraded after upgrading from version 2.4.4 to 2.4.4-p1.

Workaround 1: Patch

The patch is attached to this article. To download it, scroll down to the end of the article and click the file name or click the following link: Download ACPLTSRV-2017-fix.sh.zip

Compatible Adobe Commerce and Magento Open Source versions:

The patch was created for:

  • Adobe Commerce on cloud infrastructure 2.4.4
  • Adobe Commerce on-premises 2.4.4
  • Magento Open Source 2.4.4
NOTE
The patch is not compatible with any other Adobe Commerce and Magento Open Source versions and editions.

How to Apply the Patch

Use the attached bash script ACPLTSRV-2017-fix.sh.zip as the workaround for this issue.

Exact instructions how to use the script:

On Adobe Commerce on cloud infrastructure:

  1. Download the bash script file ACPLTSRV-2017-fix.sh to your local checkout of your cloud codebase.
  2. Run the bash script file ACPLTSRV-2017-fix.sh to modify the composer files locally.
  3. Add and commit the modified composer files to your git repository.

On Adobe Commerce or Magento Open Source on-premises:

  1. Place the bash script ACPLTSRV-2017-fix.sh in the root folder of your Adobe Commerce/Magento Open Source 2.4.4 installation (the same folder as the composer.json).

  2. Run the bash script with an apply argument to lock affected packages (modules) to their 2.4.4 versions:

    sh ACPLTSRV-2017-fix.sh apply
    
  3. Run composer updated to install the locked packages (modules).

  4. Once you are ready to upgrade to 2.4.5 or 2.4.4-p1, run the script with a rollback argument:

    sh ACPLTSRV-2017-fix.sh rollback
    

    Skipping this step will result in upgrade errors due to conflicting packages (modules) requirements.

  5. After completion of the above steps, you can begin upgrading.

Workaround 2

The 2nd workaround for this issue is not to run the composer update command without any arguments.

Previous pageAdmin can't create order/reorder when Braintree payment enabled
Next pageOrder email sent from the server email address

Commerce


Connect with Experience League at Summit!

Get front-row access to top sessions, hands-on activities, and networking—wherever you are!

Learn more