Skip to content

Commit 5fd06db

Browse files
author
Aliaksei Yakimovich2
committed
MAGETWO-64838: Unable to create order from store front if customer address custom attribute is required.
- Fixed static tests;
1 parent 54818de commit 5fd06db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/Magento/Framework/Webapi/ServiceInputProcessor.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ protected function _createFromArray($className, $data)
275275
} else {
276276
$setterValue = $this->convertValue($value, $returnType);
277277
}
278+
// phpcs:ignore Magento2.Exceptions.ThrowCatch
278279
} catch (SerializationException $e) {
279280
throw new SerializationException(
280281
new Phrase(
@@ -323,6 +324,7 @@ protected function convertCustomAttributeValue($customAttributesValueArray, $dat
323324
) {
324325
try {
325326
$attributeValue = $this->convertValue($customAttributeValue, $type);
327+
// phpcs:ignore Magento2.Exceptions.ThrowCatch
326328
} catch (SerializationException $e) {
327329
throw new SerializationException(
328330
new Phrase(

0 commit comments

Comments
 (0)