Skip to content

Duplicate Simple Product Throws Error: Undefined offset: 0 in SaveHandler.php on line 122 #11532

@lee586

Description

@lee586

Preconditions

  1. Magento CE 2.2
  2. PHP 7.1.10

Steps to reproduce

  1. Click on an existing simple product in the catalog manager
  2. Click the "Save & Duplicate" option

Expected result

  1. The product saves and creates a duplicate item

Actual result

  1. Saves the product but doesn't duplicate it. Throws the following error:
    Notice: Undefined offset: 0 in /home/store/public_html/vendor/magento/module-catalog/Model/Category/Link/SaveHandler.php on line 122

Metadata

Metadata

Assignees

Labels

Fixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions