Skip to content

Commit

Permalink
1.1.39 Release
Browse files Browse the repository at this point in the history
- Added metatdata
- Fixed conflicts for ACSD-54106
  • Loading branch information
katmoon committed Oct 4, 2023
1 parent 98f7bd8 commit 04fb33c
Show file tree
Hide file tree
Showing 6 changed files with 109 additions and 21 deletions.
2 changes: 1 addition & 1 deletion patches-info.json

Large diffs are not rendered by default.

File renamed without changes.
62 changes: 62 additions & 0 deletions patches/os/ACSD-54106_2.4.3.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
diff --git a/vendor/magento/module-elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/StaticField.php b/vendor/magento/module-elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/StaticField.php
index f1ba54bf7e5..e927aee01aa 100644
--- a/vendor/magento/module-elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/StaticField.php
+++ b/vendor/magento/module-elasticsearch/Model/Adapter/FieldMapper/Product/FieldProvider/StaticField.php
@@ -150,7 +150,7 @@ class StaticField implements FieldProviderInterface
$fieldMapping[$fieldName]['index'] = $index;
}

- if ($attributeAdapter->isSortable()) {
+ if ($attributeAdapter->isSortable() && !$attributeAdapter->isComplexType()) {
$sortFieldName = $this->fieldNameResolver->getFieldName(
$attributeAdapter,
['type' => FieldMapperInterface::TYPE_SORT]
@@ -161,7 +161,8 @@ class StaticField implements FieldProviderInterface
),
'index' => $this->indexTypeConverter->convert(
IndexTypeConverterInterface::INTERNAL_NO_ANALYZE_VALUE
- )
+ ),
+ 'normalizer' => 'folding',
];
}

@@ -188,6 +189,21 @@ class StaticField implements FieldProviderInterface
$fieldMapping[$childFieldName] = [
'type' => $this->fieldTypeConverter->convert(FieldTypeConverterInterface::INTERNAL_DATA_TYPE_STRING)
];
+ if ($attributeAdapter->isSortable()) {
+ $sortFieldName = $this->fieldNameResolver->getFieldName(
+ $attributeAdapter,
+ ['type' => FieldMapperInterface::TYPE_SORT]
+ );
+ $fieldMapping[$childFieldName]['fields'][$sortFieldName] = [
+ 'type' => $this->fieldTypeConverter->convert(
+ FieldTypeConverterInterface::INTERNAL_DATA_TYPE_KEYWORD
+ ),
+ 'index' => $this->indexTypeConverter->convert(
+ IndexTypeConverterInterface::INTERNAL_NO_ANALYZE_VALUE
+ ),
+ 'normalizer' => 'folding',
+ ];
+ }
}

return $fieldMapping;
diff --git a/vendor/magento/module-elasticsearch/Model/Adapter/Index/Builder.php b/vendor/magento/module-elasticsearch/Model/Adapter/Index/Builder.php
index 26ced6c8361..7e6d50b4a04 100644
--- a/vendor/magento/module-elasticsearch/Model/Adapter/Index/Builder.php
+++ b/vendor/magento/module-elasticsearch/Model/Adapter/Index/Builder.php
@@ -105,6 +105,12 @@ class Builder implements BuilderInterface
'tokenizer' => $tokenizer,
'filter' => array_merge($filter, $synonymFilter),
'char_filter' => $charFilter,
+ 'normalizer' => [
+ 'folding' => [
+ 'type' => 'custom',
+ 'filter' => ['asciifolding', 'lowercase'],
+ ],
+ ],
],
];

64 changes: 44 additions & 20 deletions support-patches.json
Original file line number Diff line number Diff line change
Expand Up @@ -8620,7 +8620,7 @@
"title": "Fixes the issue where the order item status is incorrectly set to \"Backordered\".",
"packages": {
"magento/magento2-base": {
">=2.3.7 < 2.4.7": {
">=2.3.7 <2.4.7": {
"file": "os/ACSD-51408_2.4.4.patch"
}
}
Expand Down Expand Up @@ -9497,6 +9497,22 @@
}
}
},
"ACSD-51574-V2": {
"categories": [
"Cache", "Catalog/Product"
],
"title": "Fixes the issue where the image is not updated on the frontend after replacing it with another image with the same name.",
"packages": {
"magento/magento2-base": {
">=2.4.2 <2.4.4": {
"file": "os/ACSD-54501_2.4.3-p3.patch"
},
">=2.4.4 <2.4.7": {
"file": "os/ACSD-51574_2.4.5-p1.patch"
}
}
}
},
"ACSD-53728": {
"categories": [
"Performance"
Expand Down Expand Up @@ -9769,6 +9785,15 @@
"file": "commerce/ACSD-54026_1.3.5.patch"
}
}
},
"metadata": {
"and": [
{
"type": "log",
"path": "var/log/exception.log",
"match": "GraphQlInputException(code: 0): Customer is not a company user. *vendor/magento/module-company-graph-ql/Model/Company/ResolverAccess.php"
}
]
}
},
"ACSD-54106": {
Expand All @@ -9778,8 +9803,14 @@
"title": "Fixes the issue where category product sorting by name for Turkish accented characters is incorrect.",
"packages": {
"magento/magento2-base": {
">=2.4.1 < 2.4.5": {
"file": "os/ACSD-54106_2.4.4-p3.patch"
">=2.4.1 <2.4.3": {
"file": "os/ACSD-54106_2.4.1.patch"
},
">=2.4.3 <2.4.5": {
"file": "os/ACSD-54106_2.4.3.patch",
"require": [
"MDVA-43731"
]
}
}
}
Expand Down Expand Up @@ -9848,7 +9879,7 @@
"title": "Fixes the issue where a Dynamic Block based on a Customer Segment doesn't work correctly after logging out from a customer account.",
"packages": {
"magento/magento2-base": {
">=2.4.4-p2 <2.4.5 || >=2.4.5-p1 < 2.4.7": {
">=2.4.4-p2 <2.4.5 || >=2.4.5-p1 <2.4.7": {
"file": "os/ACSD-53998_2.4.5-p2.patch"
}
}
Expand All @@ -9865,6 +9896,15 @@
"file": "os/ACSD-53204_2.4.6.patch"
}
}
},
"metadata": {
"and": [
{
"type": "log",
"path": "var/log/exception.log",
"match": "report.CRITICAL: Magento\\Framework\\Exception\\FileSystemException: File *media/catalog/product/* does not exist. in *vendor/magento/framework/Image/Adapter/Gd2.php"
}
]
}
},
"ACSD-47657": {
Expand All @@ -9888,21 +9928,5 @@
}
]
}
},
"ACSD-51574-V2": {
"categories": [
"Cache", "Catalog/Product"
],
"title": "Fixes the issue where the image is not updated on the frontend after replacing it with another image with the same name.",
"packages": {
"magento/magento2-base": {
">=2.4.2 <2.4.4": {
"file": "os/ACSD-54501_2.4.3-p3.patch"
},
">=2.4.4 <2.4.7": {
"file": "os/ACSD-51574_2.4.5-p1.patch"
}
}
}
}
}
1 change: 1 addition & 0 deletions tests/metadata/ACSD-53204/var/log/exception.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
report.CRITICAL: Magento\Framework\Exception\FileSystemException: File "/app/pub/media/catalog/product/_/o/_object_Object_.jpg" does not exist. in /app/vendor/magento/framework/Image/Adapter/Gd2.php:65
1 change: 1 addition & 0 deletions tests/metadata/ACSD-54026/var/log/exception.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[previous exception] [object] (Magento\\Framework\\GraphQl\\Exception\\GraphQlInputException(code: 0): Customer is not a company user. at /app/vendor/magento/module-company-graph-ql/Model/Company/ResolverAccess.php:55)"} []

0 comments on commit 04fb33c

Please sign in to comment.