robaimes / module-quality-patches-ui

Display Magento Quality Patch status in the admin area for better visualisation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Patch Status Report: Undefined Constant `FORMAT_JSON`

pykettk opened this issue · comments

commented

Description

Navigating to the patch status page in the admin shows the following error:
quality-patches-error

The line in question can be found here. This constant belongs to the Magento\CloudPatches\Command\Process\ShowStatus class.

I am able to run the quality patches tool successfully from the command line using ./vendor/bin/magento-patches status:
quality-patches-cli

Steps to Replicate

  • Log into the admin
  • Navigate to Reports -> Patch Status -> Quality Patches
  • Observe the aforementioned error

Notes

  • Local development environment
  • Adobe Commerce Cloud 2.4.4 with B2B
  • PHP 7.4.30
  • Developer mode enabled

This should be fixed in the latest version of the module @pykettk (as of 1.0.1)

commented

I was using 1.0.0. Updating to 1.1.1 resolved this issue. Thanks @robaimes 🙂