Skip to content

Commit 7b8ab36

Browse files
authored
Merge pull request #19 from akeneo/fix/attribute_mapping
Fix/attribute mapping
2 parents dedd1f8 + cba2e25 commit 7b8ab36

File tree

4 files changed

+8
-79
lines changed

4 files changed

+8
-79
lines changed

CHANGELOG.md

+4-75
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,7 @@
11
# Akeneo Connector change Log
22

3-
### 100.1.1 :
4-
Add Magento 2.3 compatibility
5-
6-
Fix wrong encoding for de_DE.csv file
7-
8-
Fix family variant class
9-
10-
### 100.1.2 :
11-
Fix connector behavior with Magento table prefix
12-
13-
Handle full path URL for products
14-
15-
Fix duplicated URL
16-
17-
Fix undefined offset 0 error on product import task
18-
19-
Fix duplicate SKU with product model
20-
21-
### 100.1.3 :
22-
Fix Magento 2.3 compatibility
23-
24-
Fix configurable product creation with 2 axis
25-
26-
Fix documentation
27-
28-
Reformat translations
29-
30-
Fix localized product URL
31-
32-
### 100.1.4 :
33-
Add PHP 7.2 compatibility
34-
35-
Fix error on product_model table
36-
37-
Add configuration to enable or disable product URL rewriting
38-
39-
### 100.2.1 :
40-
Fix ACL for import jobs
3+
### 100.1.0 :
4+
Initial Akeneo Connector Release
415

42-
Fix family exclusion configuration that was impossible to set empty
43-
44-
Fix configurable product association import
45-
46-
Fix product website association from channel mapping
47-
48-
Add configuration to set channel for admin values
49-
50-
Add configuration to choose to update product URL rewrite or not
51-
52-
Prevent price from being set to "null" if empty
53-
54-
Add no-whitespace validation to Akeneo API credential fields
55-
56-
### 100.2.2 :
57-
Fix option import if first attribute has no valid options
58-
59-
Force attribute code to be lowercase
60-
61-
Manage attribute scope on import
62-
63-
Fix SQL error when no association column is found using advanced filter
64-
65-
### 100.2.3 :
66-
Fix undefined offset on product import
67-
68-
### 100.2.4 :
69-
Change default pagination value to 100
70-
71-
Change wording for advanced JSON configuration
72-
73-
Add SQL statement possibility in configurable mapping
74-
75-
Add category configurations for anchor, status and display in menu
76-
77-
### 100.2.5 :
78-
Refactor API requests from configured mapping to improve performance and reduce data inserted in temporary table
6+
### 100.1.1 :
7+
Fix attribute mapping key

Helper/Config.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ public function isUrlKeyMapped()
739739

740740
/** @var mixed[] $match */
741741
foreach ($matches as $match) {
742-
if (!isset($match['pim_attribute'], $match['magento_attribute'])) {
742+
if (!isset($match['akeneo_attribute'], $match['magento_attribute'])) {
743743
continue;
744744
}
745745

Job/Product.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,12 @@ public function addRequiredData()
448448

449449
/** @var array $match */
450450
foreach ($matches as $match) {
451-
if (!isset($match['pim_attribute'], $match['magento_attribute'])) {
451+
if (!isset($match['akeneo_attribute'], $match['magento_attribute'])) {
452452
continue;
453453
}
454454

455455
/** @var string $pimAttribute */
456-
$pimAttribute = $match['pim_attribute'];
456+
$pimAttribute = $match['akeneo_attribute'];
457457
/** @var string $magentoAttribute */
458458
$magentoAttribute = $match['magento_attribute'];
459459

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"php-http/guzzle6-adapter": "^1.1"
1212
},
1313
"type": "magento2-module",
14-
"version": "100.1.0",
14+
"version": "100.1.1",
1515
"license": [
1616
"OSL-3.0",
1717
"AFL-3.0"

0 commit comments

Comments
 (0)