product-variant
product-variant copied to clipboard
Opening the Product Variant creation menu from the Product Variant view throws error
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.
- Install product_variant_configurator locally
- Go to the Product Variants menu (You can go from Inventory, Sales, Manufactury..., not relevant)
- Click on "Create product variant" button
- You'll trigger the following error, preventing you to open the creation menu.
Expected behavior It's supposed to show the Product Variant creation menu.
Additional context I've found the bug both locally and on runboat
I might have found a solution to this
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.