Skip to content

fix: accepted values in import with template - #12969

Merged
kodiakhq[bot] merged 2 commits into
developfrom
fix-frmw-2983
Jul 16, 2025
Merged

fix: accepted values in import with template#12969
kodiakhq[bot] merged 2 commits into
developfrom
fix-frmw-2983

Conversation

@juanzgc

@juanzgc juanzgc commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

What
Fixed CSV import functionality to properly handle columns that were previously cuasing import errors.

Why
Users were encountering "Invalid column name(s)" errors when importing CSV files containing system-generated columns like "Product Created At", "Product Updated At", etc. These columns are automatically added by export templates but should be ignored during import since they're not part of the product creation schema.

Resolves FRMW-2983

@juanzgc
juanzgc requested a review from a team as a code owner July 16, 2025 03:05
@vercel

vercel Bot commented Jul 16, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference 🔄 Building (Inspect) Visit Preview 💬 Add feedback Jul 16, 2025 4:38pm
medusa-dashboard ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 16, 2025 4:38pm
7 Skipped Deployments
Name Status Preview Comments Updated (UTC)
api-reference-v2 ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 4:38pm
cloud-docs ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 4:38pm
docs-ui ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 4:38pm
docs-v2 ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 4:38pm
medusa-docs ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 4:38pm
resources-docs ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 4:38pm
user-guide ⬜️ Ignored (Inspect) Visit Preview Jul 16, 2025 4:38pm

@changeset-bot

changeset-bot Bot commented Jul 16, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9da1a7f

The changes in this PR will be included in the next version bump.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@juanzgc

juanzgc commented Jul 16, 2025

Copy link
Copy Markdown
Contributor Author

/snapshot-this

@github-actions

Copy link
Copy Markdown
Contributor

🚀 A snapshot release has been made for this PR

Test the snapshots by updating your package.json with the newly published versions:

yarn add @medusajs/admin-bundler@2.8.8-snapshot-20250716031427
yarn add @medusajs/admin-sdk@2.8.8-snapshot-20250716031427
yarn add @medusajs/admin-shared@2.8.8-snapshot-20250716031427
yarn add @medusajs/admin-vite-plugin@2.8.8-snapshot-20250716031427
yarn add @medusajs/dashboard@2.8.8-snapshot-20250716031427
yarn add create-medusa-app@2.8.8-snapshot-20250716031427
yarn add @medusajs/cli@2.8.8-snapshot-20250716031427
yarn add medusa-dev-cli@2.8.8-snapshot-20250716031427
yarn add @medusajs/medusa-oas-cli@2.8.8-snapshot-20250716031427
yarn add @medusajs/core-flows@2.8.8-snapshot-20250716031427
yarn add @medusajs/framework@2.8.8-snapshot-20250716031427
yarn add @medusajs/js-sdk@2.8.8-snapshot-20250716031427
yarn add @medusajs/modules-sdk@2.8.8-snapshot-20250716031427
yarn add @medusajs/orchestration@2.8.8-snapshot-20250716031427
yarn add @medusajs/types@2.8.8-snapshot-20250716031427
yarn add @medusajs/utils@2.8.8-snapshot-20250716031427
yarn add @medusajs/workflows-sdk@2.8.8-snapshot-20250716031427
yarn add @medusajs/icons@2.8.8-snapshot-20250716031427
yarn add @medusajs/ui@4.0.18-snapshot-20250716031427
yarn add @medusajs/ui-preset@2.8.8-snapshot-20250716031427
yarn add @medusajs/medusa@2.8.8-snapshot-20250716031427
yarn add @medusajs/telemetry@2.8.8-snapshot-20250716031427
yarn add @medusajs/test-utils@2.8.8-snapshot-20250716031427
yarn add @medusajs/analytics@2.8.8-snapshot-20250716031427
yarn add @medusajs/api-key@2.8.8-snapshot-20250716031427
yarn add @medusajs/auth@2.8.8-snapshot-20250716031427
yarn add @medusajs/cache-inmemory@2.8.8-snapshot-20250716031427
yarn add @medusajs/cache-redis@2.8.8-snapshot-20250716031427
yarn add @medusajs/cart@2.8.8-snapshot-20250716031427
yarn add @medusajs/currency@2.8.8-snapshot-20250716031427
yarn add @medusajs/customer@2.8.8-snapshot-20250716031427
yarn add @medusajs/event-bus-local@2.8.8-snapshot-20250716031427
yarn add @medusajs/event-bus-redis@2.8.8-snapshot-20250716031427
yarn add @medusajs/file@2.8.8-snapshot-20250716031427
yarn add @medusajs/fulfillment@2.8.8-snapshot-20250716031427
yarn add @medusajs/index@2.8.8-snapshot-20250716031427
yarn add @medusajs/inventory@2.8.8-snapshot-20250716031427
yarn add @medusajs/link-modules@2.8.8-snapshot-20250716031427
yarn add @medusajs/locking@2.8.8-snapshot-20250716031427
yarn add @medusajs/notification@2.8.8-snapshot-20250716031427
yarn add @medusajs/order@2.8.8-snapshot-20250716031427
yarn add @medusajs/payment@2.8.8-snapshot-20250716031427
yarn add @medusajs/pricing@2.8.8-snapshot-20250716031427
yarn add @medusajs/product@2.8.8-snapshot-20250716031427
yarn add @medusajs/promotion@2.8.8-snapshot-20250716031427
yarn add @medusajs/analytics-local@2.8.8-snapshot-20250716031427
yarn add @medusajs/analytics-posthog@2.8.8-snapshot-20250716031427
yarn add @medusajs/auth-emailpass@2.8.8-snapshot-20250716031427
yarn add @medusajs/auth-github@2.8.8-snapshot-20250716031427
yarn add @medusajs/auth-google@2.8.8-snapshot-20250716031427
yarn add @medusajs/file-local@2.8.8-snapshot-20250716031427
yarn add @medusajs/file-s3@2.8.8-snapshot-20250716031427
yarn add @medusajs/fulfillment-manual@2.8.8-snapshot-20250716031427
yarn add @medusajs/locking-postgres@2.8.8-snapshot-20250716031427
yarn add @medusajs/locking-redis@2.8.8-snapshot-20250716031427
yarn add @medusajs/notification-local@2.8.8-snapshot-20250716031427
yarn add @medusajs/notification-sendgrid@2.8.8-snapshot-20250716031427
yarn add @medusajs/payment-stripe@2.8.8-snapshot-20250716031427
yarn add @medusajs/region@2.8.8-snapshot-20250716031427
yarn add @medusajs/sales-channel@2.8.8-snapshot-20250716031427
yarn add @medusajs/stock-location@2.8.8-snapshot-20250716031427
yarn add @medusajs/store@2.8.8-snapshot-20250716031427
yarn add @medusajs/tax@2.8.8-snapshot-20250716031427
yarn add @medusajs/user@2.8.8-snapshot-20250716031427
yarn add @medusajs/workflow-engine-inmemory@2.8.8-snapshot-20250716031427
yarn add @medusajs/workflow-engine-redis@2.8.8-snapshot-20250716031427

Latest commit: 2c2528a

@olivermrbl olivermrbl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

**What**
Fixed CSV import functionality to properly handle columns that were previously cuasing import errors.

**Why**
Users were encountering "Invalid column name(s)" errors when importing CSV files containing system-generated columns like "Product Created At", "Product Updated At", etc. These columns are automatically added by export templates but should be ignored during import since they're not part of the product creation schema.

Resolves FRMW-2983
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants