-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Component: CatalogFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReported on 2.3.2Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Description
Undefined variable $type in Product-Link Management
Preconditions (*)
- Magento Community Version 2.3.2 and current branch 2.4-develop
Steps to reproduce (*)
- Create two products, for example with SKU 1234 and SKU 5678
- Create a product link 1234 to 5678 with Magento\Catalog\Model\ProductLink\Management->setProductLinks
- Create a product link 5678 to 1234 with Magento\Catalog\Model\ProductLink\Management->setProductLinks
Expected result (*)
- New product link 1234 to 5678
- New product link 5678 to 1234
Actual result (*)
- New product link 1234 to 5678
- Exception: Notice: Undefined variable: type in /.../vendor/magento/module-catalog/Model/ProductLink/Management.php on line 94
Metadata
Metadata
Assignees
Labels
Component: CatalogFixed in 2.4.xThe issue has been fixed in 2.4-develop branchThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentGate 4. Acknowledged. Issue is added to backlog and ready for developmentReported on 2.3.2Indicates original Magento version for the Issue report.Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch