Skip to content

Commit b23292c

Browse files
author
Alexander Paliarush
committed
MAGETWO-34457: Merge and Fix Tests
1 parent 17ab022 commit b23292c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/internal/Magento/Framework/Api/Config/MetadataConfig.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ protected function getAttributesMetadata($dataObjectClassName)
6969
{
7070
$attributes = [];
7171
$allAttributes = $this->serviceConfigReader->read();
72+
$dataObjectClassName = ltrim($dataObjectClassName, '\\');
7273
if (isset($allAttributes[$dataObjectClassName])
7374
&& is_array($allAttributes[$dataObjectClassName])
7475
) {

0 commit comments

Comments
 (0)