Skip to content

Commit

Permalink
Merge pull request #240 from akeneo/release/100.4.11
Browse files Browse the repository at this point in the history
Release/100.4.11
  • Loading branch information
Dnd-Gimix authored Jul 13, 2020
2 parents a79ed16 + 4b3b357 commit 7232d87
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,8 @@
* Add configuration check for empty mapping
* Fix category url_path generation
* Fix category and family source model return when API credentials are not configured
* Fix advanced filter issue with family filter variable
* Fix advanced filter issue with family filter variable

### Version 100.4.11 :
* Fix website mapping attribute code comparison to lowercase
* Fix configurable mapping attribute code comparison to lowercase
3 changes: 2 additions & 1 deletion Job/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -862,7 +862,7 @@ public function createConfigurable()
}

/** @var string $name */
$name = $attribute['attribute'];
$name = strtolower($attribute['attribute']);
/** @var string $value */
$value = $attribute['value'];
/** @var string $type */
Expand Down Expand Up @@ -1724,6 +1724,7 @@ public function setWebsites()
/** @var string $websiteAttribute */
$websiteAttribute = $this->configHelper->getWebsiteAttribute();
if ($websiteAttribute != null) {
$websiteAttribute = strtolower($websiteAttribute);
$attribute = $this->eavConfig->getAttribute('catalog_product', $websiteAttribute);
if ($attribute->getAttributeId() != null) {
/** @var string[] $options */
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"php-http/guzzle6-adapter": "^1.1"
},
"type": "magento2-module",
"version": "100.4.10",
"version": "100.4.11",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down

0 comments on commit 7232d87

Please sign in to comment.