You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One is able to create order using createOrdersWorkflow with lineItems that are no linked to product variants i.e. not providing product_id and variant_id to the line item(s).
Admin dashboard fails to render the order details with console errors showing TypeError: item.variant is undefined
System information
Medusa version (including plugins): v2
Node.js version: 20
Database: postgres
Operating system: osx
Browser (if relevant): not relevant
Steps to reproduce the behavior
Create an order with createOrdersWorkflow do not provide product_id and variant_id to the line item.
Check admin dashboard, order appears in Orders page
Click the order
Error appears
Expected behavior
Order details are shown
Screenshots
Code snippets
If applicable, add code samples to help explain your problem
Additional context
Add any other context about the problem here
The text was updated successfully, but these errors were encountered:
Bernix01
changed the title
Admin fails to render order with line items without linked variant
Admin fails to render order details when line items are not linked to a variant
Oct 24, 2024
Bug report
Describe the bug
One is able to create order using
createOrdersWorkflow
with lineItems that are no linked to product variants i.e. not providingproduct_id
andvariant_id
to the line item(s).Admin dashboard fails to render the order details with console errors showing
TypeError: item.variant is undefined
System information
Medusa version (including plugins): v2
Node.js version: 20
Database: postgres
Operating system: osx
Browser (if relevant): not relevant
Steps to reproduce the behavior
createOrdersWorkflow
do not provideproduct_id
andvariant_id
to the line item.Expected behavior
Order details are shown
Screenshots
Code snippets
If applicable, add code samples to help explain your problem
Additional context
Add any other context about the problem here
The text was updated successfully, but these errors were encountered: