Skip to content

Commit

Permalink
Merge pull request #658 from akeneo/release/104.0.1
Browse files Browse the repository at this point in the history
Release/104.0.1
  • Loading branch information
magentix authored Aug 31, 2023
2 parents 64c2928 + 29ed40c commit 7f56928
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,3 +439,8 @@
* Upgrade minimal PHP dependency to 8.0
* Upgrade Akeneo PHP client to 11.2.0
* Allow to disable updated mode filter

### Version 104.0.1 :
* PGTO-357: Force "selected" attribute on multiselect before print
* PGTO-366: Add security check to avoid undefined index
* PGTO-369: Fix virtual product status update
7 changes: 5 additions & 2 deletions Job/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -3728,6 +3728,9 @@ public function setUrlRewrite(): void

$parentIds = explode(',', $category->getPathInStore());
foreach ($parentIds as $parentCategoryId) {
if (!isset($filteredCategories[$parentCategoryId])) {
continue;
}
$categoryPathIds[] = $filteredCategories[$parentCategoryId];
}
}
Expand Down Expand Up @@ -4623,8 +4626,8 @@ public function setProductStatuses(
['a' => $tmpTable],
$columnsForMapping
)->where(
'a._type_id = ?',
$type
'a._type_id IN (?)',
$this->allowedTypeId
);

/** @var Zend_Db_Statement_Pdo $query */
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"nyholm/psr7": "^1.5"
},
"type": "magento2-module",
"version": "104.0.0",
"version": "104.0.1",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
5 changes: 5 additions & 0 deletions view/adminhtml/templates/system/config/export_pdf.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ use Akeneo\Connector\Block\Adminhtml\System\Config\ExportPdf;
let currentEl = $(this);
let newHeight = currentEl.children().length * 29;
currentEl.height(newHeight).parent().parent().height(newHeight);

let options = currentEl.find(':selected');
for (let i = 0; i < options.length; i++) {
$(options[i]).attr('selected', 'selected');
}
});

window.print();
Expand Down

0 comments on commit 7f56928

Please sign in to comment.