Skip to content

Commit 87670a7

Browse files
author
Oleksii Korshenko
authored
Merge pull request #1044 from magento-engcom/2.1-develop-prs
Public Pull Requests: - #9092 - #8880
2 parents b8b698b + 3c45652 commit 87670a7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/code/Magento/Theme/view/adminhtml/ui_component/design_config_form.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
<item name="componentType" xsi:type="string">fileUploader</item>
6868
<item name="notice" xsi:type="string" translate="true">Allowed file types: ico, png, gif, jpg, jpeg, apng, svg. Not all browsers support all these formats!</item>
6969
<item name="maxFileSize" xsi:type="number">2097152</item>
70-
<item name="allowedExtensions" xsi:type="string">jpg jpeg gif png svg</item>
70+
<item name="allowedExtensions" xsi:type="string">ico jpg jpeg gif png svg apng</item>
7171
<item name="uploaderConfig" xsi:type="array">
7272
<item name="url" xsi:type="string">theme/design_config_fileUploader/save</item>
7373
</item>

lib/internal/Magento/Framework/View/Layout/Data/Structure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function reorderChildElement($parentName, $childName, $offsetOrSibling, $
119119
$siblingParentName = $this->getParentId($sibling);
120120
if ($parentName !== $siblingParentName) {
121121
if ($this->state->getMode() === State::MODE_DEVELOPER) {
122-
$this->logger->critical(
122+
$this->logger->info(
123123
"Broken reference: the '{$childName}' tries to reorder itself towards '{$sibling}', but " .
124124
"their parents are different: '{$parentName}' and '{$siblingParentName}' respectively."
125125
);

lib/internal/Magento/Framework/View/Layout/ScheduledStructure/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function scheduleElement(
201201
$scheduledStructure->setElementToBrokenParentList($key);
202202

203203
if ($this->state->getMode() === State::MODE_DEVELOPER) {
204-
$this->logger->critical(
204+
$this->logger->info(
205205
"Broken reference: the '{$name}' element cannot be added as child to '{$parentName}', " .
206206
'because the latter doesn\'t exist'
207207
);

lib/internal/Magento/Framework/View/Test/Unit/Layout/Data/StructureTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function testReorderChildElementLog($loggerExpects, $stateMode)
6464
->method('getMode')
6565
->willReturn($stateMode);
6666
$this->loggerMock->expects($loggerExpects)
67-
->method('critical')
67+
->method('info')
6868
->with(
6969
"Broken reference: the '{$childName}' tries to reorder itself towards '', but " .
7070
"their parents are different: '{$parentName}' and '' respectively."

lib/internal/Magento/Framework/View/Test/Unit/Layout/ScheduledStructure/HelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ public function testScheduleElementLog($loggerExpects, $stateMode)
181181
->method('getMode')
182182
->willReturn($stateMode);
183183
$this->loggerMock->expects($loggerExpects)
184-
->method('critical')
184+
->method('info')
185185
->with(
186186
"Broken reference: the '{$key}' element cannot be added as child to '{$parentName}', " .
187187
'because the latter doesn\'t exist'

0 commit comments

Comments
 (0)