Skip to content

Commit b6155aa

Browse files
committed
MAGETWO-83706: Scheduled Update to existing Group Price / Special Price removes the previously configured price, or results in changes not being saved
1 parent 31ef470 commit b6155aa

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

app/code/Magento/Catalog/Model/Product/Attribute/Backend/GroupPrice/AbstractGroupPrice.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ protected function modifyPriceData($object, $data)
378378
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
379379
* @SuppressWarnings(PHPMD.NPathComplexity)
380380
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
381+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
381382
*/
382383
public function afterSave($object)
383384
{

app/code/Magento/Catalog/Model/Product/Attribute/Backend/TierPrice/SaveHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public function __construct(
7373
* @throws \Magento\Framework\Exception\NoSuchEntityException
7474
* @throws \Magento\Framework\Exception\LocalizedException
7575
* @throws \Magento\Framework\Exception\RuntimeException
76+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
7677
*/
7778
public function execute($entity, $arguments = [])
7879
{

app/code/Magento/Catalog/Model/Product/Attribute/Backend/TierPrice/UpdateHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function __construct(
7070
* @return \Magento\Catalog\Api\Data\ProductInterface|object
7171
* @throws \Magento\Framework\Exception\NoSuchEntityException
7272
* @throws \Magento\Framework\Exception\LocalizedException
73+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
7374
*/
7475
public function execute($entity, $arguments = [])
7576
{

0 commit comments

Comments
 (0)