Skip to content

Commit ef265e5

Browse files
maeker12maeker12
authored andcommitted
Fix error descriptions branding and edits
1 parent b4ea5e1 commit ef265e5

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

config/schema.error.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@
334334
!php/const Magento\MagentoCloud\App\Error::DEPLOY_WRONG_BRAINTREE_VARIABLE:
335335
step: validate-config
336336
title: 'Remove Magento Braintree module configuration which is no longer supported in Magento 2.4 and later versions.'
337-
suggestion: 'Support for the Braintree module is no longer included with Magento 2.4.0 and later. Remove the CONFIG__STORES__DEFAULT__PAYMENT__BRAINTREE__CHANNEL variable from the variables section of the .magento.app.yaml file. For Braintree support, use an official Braintree Payments extension from the Magento Marketplace instead.'
337+
suggestion: 'Support for the Braintree module is no longer included with Magento 2.4.0 and later. Remove the CONFIG__STORES__DEFAULT__PAYMENT__BRAINTREE__CHANNEL variable from the variables section of the .magento.app.yaml file. For Braintree support, use an official Braintree Payments extension from the Commerce Marketplace instead.'
338338
stage: deploy
339339
type: critical
340340
!php/const Magento\MagentoCloud\App\Error::DEPLOY_ES_SERVICE_NOT_INSTALLED:
@@ -504,12 +504,12 @@
504504
step: validate-config
505505
type: warning
506506
!php/const Magento\MagentoCloud\App\Error::WARN_SOLR_DEPRECATED:
507-
title: 'Solr support has been deprecated in Magento 2.1.'
507+
title: 'Solr support has been deprecated in Adobe Commerce and Magento Open Source 2.1.'
508508
stage: deploy
509509
step: validate-config
510510
type: warning
511511
!php/const Magento\MagentoCloud\App\Error::WARN_SOLR_NOT_SUPPORTED:
512-
title: 'Solr is no longer supported by Magento 2.2 or later.'
512+
title: 'Solr is no longer supported by Adobe Commerce and Magento Open Source 2.2 or later.'
513513
stage: deploy
514514
step: validate-config
515515
type: warning
@@ -520,12 +520,12 @@
520520
step: validate-config
521521
type: warning
522522
!php/const Magento\MagentoCloud\App\Error::WARN_ES_VERSION_MISMATCH:
523-
title: 'Elasticsearch service version on infrastructure layer is not compatible with current version of the elasticsearch/elasticsearch module, used by your Magento application.'
523+
title: 'Elasticsearch service version on infrastructure layer is not compatible with current version of the elasticsearch/elasticsearch module, used by your Adobe Commerce application.'
524524
stage: deploy
525525
step: validate-config
526526
type: warning
527527
!php/const Magento\MagentoCloud\App\Error::WARN_CONFIG_NOT_COMPATIBLE:
528-
title: 'The current configuration is not compatible with this version of Magento'
528+
title: 'The current configuration is not compatible with this version of Adobe Commerce'
529529
stage: deploy
530530
step: validate-config
531531
type: warning
@@ -550,7 +550,7 @@
550550
step: validate-config
551551
type: warning
552552
!php/const Magento\MagentoCloud\App\Error::WARN_SERVICE_VERSION_NOT_COMPATIBLE:
553-
title: 'The current configuration is not compatible with this version of Magento'
553+
title: 'The current configuration is not compatible with this version of Adobe Commerce'
554554
stage: deploy
555555
step: validate-config
556556
type: warning
@@ -566,13 +566,13 @@
566566
step: validate-config
567567
type: warning
568568
!php/const Magento\MagentoCloud\App\Error::WARN_DEPRECATED_SPLIT_DB:
569-
title: 'Split Database was deprecated in the Magento 2.4.2 and will be removed in 2.5.'
569+
title: 'Split Database was deprecated in the Adobe Commerce and Magento Open Source 2.4.2 and will be removed in 2.5.'
570570
stage: deploy
571571
suggestion: 'If you use split database you should start planning to revert to or migrate to a single database or use an alternative approach.'
572572
step: validate-config
573573
type: warning
574574
!php/const Magento\MagentoCloud\App\Error::WARN_ENV_PHP_MISSED:
575-
title: 'Magento installation completed, but the `app/etc/env.php` configuration file was missing or empty.'
575+
title: 'Adobe Commerce installation completed, but the `app/etc/env.php` configuration file was missing or empty.'
576576
suggestion: 'Required data will be restored from environment configurations and from .magento.env.yaml file.'
577577
stage: deploy
578578
step: install-update
@@ -611,7 +611,7 @@
611611
!php/const Magento\MagentoCloud\App\Error::WARN_NOT_SUPPORTED_MAGE_MODE:
612612
title: 'Mode value for MAGE_MODE environment variable not supported'
613613
stage: deploy
614-
suggestion: 'Remove the MAGE_MODE environment variable, or change its value to "production". Magento Cloud supports "production" mode only.'
614+
suggestion: 'Remove the MAGE_MODE environment variable, or change its value to "production". Adobe Commerce on cloud infrastructure supports "production" mode only.'
615615
step: 'validate-config:mage-mode-variable'
616616
type: warning
617617
!php/const Magento\MagentoCloud\App\Error::WARN_REMOTE_STORAGE_CANNOT_BE_ENABLED:
@@ -621,7 +621,7 @@
621621
step: remote-storage
622622
type: warning
623623
!php/const Magento\MagentoCloud\App\Error::WARN_DEBUG_LOG_ENABLED:
624-
title: 'Debug logging is enabled in Magento'
624+
title: 'Debug logging is enabled in Adobe Commerce'
625625
suggestion: 'To save disk space, do not enable debug logging for your production environments.'
626626
stage: post-deploy
627627
step: validate-config
@@ -646,14 +646,14 @@
646646
type: warning
647647
stage: general
648648
!php/const Magento\MagentoCloud\App\Error::WARN_OS_ES_SERVICES_BOTH_INSTALLED:
649-
title: 'Elasticsearch and Opensearch services are both installed at infrastructure layer. Magento 2.4.4 and higher uses Opensearch by default'
649+
title: 'Elasticsearch and Opensearch services are both installed at infrastructure layer. Adobe Commerce and Magento Open Source 2.4.4 and higher use Opensearch by default'
650650
suggestion: 'Consider removing the Elasticsearch or Opensearch service from the infrastructure layer to optimize resource usage.'
651651
stage: deploy
652652
step: validate-config
653653
type: warning
654654
!php/const Magento\MagentoCloud\App\Error::DEPLOY_MAGENTO_VERSION_DOES_NOT_SUPPORT_OS:
655655
step: validate-config
656656
title: 'Incorrect search engine'
657-
suggestion: 'This Magento version does not support Opensearch. You must use versions 2.3.7-p3, 2.4.3-p2, or higher'
657+
suggestion: 'This Adobe Commerce or Magento Open Source version does not support Opensearch. You must use versions 2.3.7-p3, 2.4.3-p2, or higher'
658658
stage: deploy
659659
type: critical

src/Command/Dev/GenerateSchemaError.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,10 @@ private function generateDocs(array $errors): string
168168
public function getErrorTypeDescription(): array
169169
{
170170
return [
171-
'critical' => 'Critical errors indicate a problem with the Magento Commerce Cloud project configuration ' .
171+
'critical' => 'Critical errors indicate a problem with the Commerce on cloud infrastructure project configuration ' .
172172
'that causes deployment failure, for example incorrect, unsupported, or missing configuration for ' .
173173
'required settings. Before you can deploy, you must update the configuration to resolve these errors.',
174-
'warning' => 'Warning errors indicate a problem with the Magento Commerce Cloud project configuration ' .
174+
'warning' => 'Warning errors indicate a problem with the Commerce on cloud infrastructure project configuration ' .
175175
'such as incorrect, deprecated, unsupported, or missing configuration settings for optional features ' .
176176
'that can affect site operation. Although a warning does not cause deployment failure, you ' .
177177
'should review warning messages and update the configuration to resolve them.',

0 commit comments

Comments
 (0)