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(
8787 break ;
8888 }
8989 }
90- $ message .= implode ('<br> ' , $ escapedMessages );
9190 if ($ errorAggregator ->hasFatalExceptions ()) {
9291 foreach ($ this ->getSystemExceptions ($ errorAggregator ) as $ error ) {
93- $ message . = $ this ->escaper ->escapeHtml ($ error ->getErrorMessage ())
92+ $ escapedMessages [] = $ this ->escaper ->escapeHtml ($ error ->getErrorMessage ())
9493 . ' <a href="#" onclick="$(this).next().show();$(this).hide();return false;"> '
9594 . __ ('Show more ' ) . '</a><div style="display:none;"> ' . __ ('Additional data ' ) . ': '
9695 . $ this ->escaper ->escapeHtml ($ error ->getErrorDescription ()) . '</div> ' ;
9796 }
9897 }
9998 try {
99+ $ message .= implode ('<br> ' , $ escapedMessages );
100100 $ resultBlock ->addNotice (
101101 '<strong> ' . __ ('Following Error(s) has been occurred during importing process: ' ) . '</strong><br> '
102102 . '<div class="import-error-wrapper"> ' . __ ('Only the first 100 errors are shown. ' )
You can’t perform that action at this time.
0 commit comments