File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/ImportExport/Controller/Adminhtml Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,16 +87,16 @@ protected function addErrorMessages(
87
87
break ;
88
88
}
89
89
}
90
- $ message .= implode ('<br> ' , $ escapedMessages );
91
90
if ($ errorAggregator ->hasFatalExceptions ()) {
92
91
foreach ($ this ->getSystemExceptions ($ errorAggregator ) as $ error ) {
93
- $ message . = $ this ->escaper ->escapeHtml ($ error ->getErrorMessage ())
92
+ $ escapedMessages [] = $ this ->escaper ->escapeHtml ($ error ->getErrorMessage ())
94
93
. ' <a href="#" onclick="$(this).next().show();$(this).hide();return false;"> '
95
94
. __ ('Show more ' ) . '</a><div style="display:none;"> ' . __ ('Additional data ' ) . ': '
96
95
. $ this ->escaper ->escapeHtml ($ error ->getErrorDescription ()) . '</div> ' ;
97
96
}
98
97
}
99
98
try {
99
+ $ message .= implode ('<br> ' , $ escapedMessages );
100
100
$ resultBlock ->addNotice (
101
101
'<strong> ' . __ ('Following Error(s) has been occurred during importing process: ' ) . '</strong><br> '
102
102
. '<div class="import-error-wrapper"> ' . __ ('Only the first 100 errors are shown. ' )
You can’t perform that action at this time.
0 commit comments