magento / magento2

Prior to making any Submission(s), you must sign an Adobe Contributor License Agreement, available here at: https://opensource.adobe.com/cla.html. All Submissions you make to Adobe Inc. and its affiliates, assigns and subsidiaries (collectively “Adobe”) are subject to the terms of the Adobe Contributor License Agreement.
http://www.magento.com
Open Software License 3.0
11.5k stars 9.3k forks source link

dynamic-rows.js:658 Uncaught TypeError: dataRecord.slice while editing bundle products #38505

Open github-jira-sync-bot opened 7 months ago

github-jira-sync-bot commented 7 months ago

Short issue description

Error in console when deleting bundle product option.

Steps to reproduce

  1. Create a bundle product with two options. Make sure to set the first option input type as < Radio Button ] and the second option as [ Checkbox ].
  2. Save the product.
  3. Open the browser console.
  4. Delete the first option [ Radio Button >, and observe the output in the console.

    Actual results

The console shows the following error.

dynamic-rows.js:658 Uncaught TypeError: dataRecord.slice is not a function
    at UiClass.getChildItems (dynamic-rows.js:658:31)
    at UiClass.setDefaultState (dynamic-rows.js:348:35)
    at executeBound (underscore.js:986:71)
    at UiClass.<anonymous> (underscore.js:1018:20)
    at UiClass.setDefaultState (underscore.js:74:37)
    at UiClass.onChildrenUpdate (dynamic-rows.js:317:22)
    at executeBound (underscore.js:986:71)
    at underscore.js:1018:20
    at underscore.js:74:37
    at events.js:85:26

 

Expected results

No errors in the console.

github-jira-sync-bot commented 7 months ago

The issue was exported from the internal Jira. The link to the original Jira issue: https://jira.corp.adobe.com/browse/ACP2E-2909

m2-assistant[bot] commented 7 months ago

Hi @github-jira-sync-bot. Thank you for your report. To speed up processing of this issue, make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

chittima commented 7 months ago

Internal team is working on this issue