product-variant icon indicating copy to clipboard operation
product-variant copied to clipboard

Opening the Product Variant creation menu from the Product Variant view throws error

Open joelkm opened this issue 1 year ago • 2 comments

An out of range index error prevents you from creating Variants from the Product Variant Menu.

Module

product_variant_configurator

Describe the bug

The application prevents the menu to appear due to an out of range index error related to product_variant_ids. Is the Product Configurator model treating the menu as a product template record without attributes?

To Reproduce

Current version, locally or runboat.

  1. Install product_variant_configurator locally
  2. Go to the Product Variants menu (You can go from Inventory, Sales, Manufactury..., not relevant)
  3. Click on "Create product variant" button
  4. You'll trigger the following error, preventing you to open the creation menu. image

Expected behavior It's supposed to show the Product Variant creation menu.

Additional context I've found the bug both locally and on runboat

joelkm avatar Oct 31 '23 10:10 joelkm

I might have found a solution to this

joelkm avatar Oct 31 '23 10:10 joelkm

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Apr 28 '24 12:04 github-actions[bot]