Skip to content

Commit

Permalink
Merge branch 'release/v103.3.1' into 'master'
Browse files Browse the repository at this point in the history
release/v103.3.1 into master

See merge request agence-dnd/marketplace/magento-2/external/magento2-connector-community!64
  • Loading branch information
Rémi V committed Dec 14, 2022
2 parents d8e6a88 + 68a8f52 commit a1a2592
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -391,3 +391,6 @@
* Manage empty attribute values returned by Akeneo API by creating missing columns inside product temporary table
* Improve extension coding standards
* Fix column size improvement to manage uppercase attribute codes

### Version 103.3.1 :
* Fix product job import for a family with only the SKU attribute inside it
4 changes: 2 additions & 2 deletions Helper/Import/Entities.php
Original file line number Diff line number Diff line change
Expand Up @@ -1055,7 +1055,7 @@ protected function getAttributesLength(string $familyCode): array
/** @var AkeneoPimClientInterface|false $akeneoClient */
$akeneoClient = $this->authenticator->getAkeneoApiClient();

if (!empty($this->attributeLength[$familyCode]) || !$akeneoClient) {
if (isset($this->attributeLength[$familyCode]) || !$akeneoClient) {
return $this->attributeLength[$familyCode];
}

Expand Down Expand Up @@ -1112,7 +1112,7 @@ protected function getAttributesLength(string $familyCode): array
}
}

return $this->attributeLength[$familyCode];
return $this->attributeLength[$familyCode] ?? [];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"nyholm/psr7": "^1.5"
},
"type": "magento2-module",
"version": "103.3.0",
"version": "103.3.1",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down

0 comments on commit a1a2592

Please sign in to comment.