Skip to content

Commit

Permalink
Issue #1216: enhance the comment when ConfigurationDeploy() fails.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschmalhofer committed Sep 7, 2021
1 parent 960ce7a commit 97d0d83
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Kernel/System/MigrateFromOTRS/OTOBOMigrateConfigFromOTRS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,11 @@ sub Run {

if ( !$DeployResult{Success} ) {
my %Result;
$Result{Message} = $Self->{LanguageObject}->Translate("Migrate configuration settings.");
$Result{Comment} = $Self->{LanguageObject}->Translate("An error occured during SysConfig data migration.");
$Result{Message} = $Self->{LanguageObject}->Translate("Migrate configuration settings.");
$Result{Comment} = $Self->{LanguageObject}->Translate(<<'END_COMMENT');
The merged Configuration could not be deployed. Please try to fix the configuration
by running these console commands: Admin::Config::ListInvalid, Admin::Config::FixInvalid, and Maint::Config::Rebuild."
END_COMMENT
$Result{Successful} = 0;

return \%Result;
Expand Down

0 comments on commit 97d0d83

Please sign in to comment.