ordinarthur 7962975dbd
All checks were successful
Build & Deploy to K3s / build-and-deploy (push) Successful in 2m39s
fix(admin): unblock product create page
Two bugs compounded to render /admin/collections/products/create blank:

1. Dockerfile's STRIPE_SECRET_KEY build-time placeholder was too short
   (11 chars) to pass the regex that gates Stripe plugin sync. Build
   produced an importMap missing plugin-stripe components like LinkToDoc,
   warning at runtime and failing to render.

2. With autosave enabled, Payload creates a blank draft on page load.
   Plugin-stripe's beforeValidate hook fired against empty data, calling
   Stripe products.create with no name, throwing a 500 that aborted the
   page render.

Fix: use a 20+ char placeholder in the Dockerfile so the build-time
importMap mirrors runtime, and add a beforeValidate hook that sets
skipSync=true whenever productDisplayName is empty so Stripe sync
waits until the product has content.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-21 13:00:29 +02:00
2026-04-11 17:42:39 +02:00
2026-04-04 11:15:54 +02:00
2026-04-11 17:42:39 +02:00
2026-04-11 17:42:39 +02:00
2026-03-20 22:15:18 +01:00
2026-03-30 18:03:12 +02:00
2026-03-30 18:03:12 +02:00
2026-03-30 18:03:12 +02:00
2026-04-11 17:42:39 +02:00
2026-04-11 17:42:39 +02:00
2026-03-30 18:03:12 +02:00
2026-04-11 17:42:39 +02:00
Description
No description provided
3.7 MiB
Languages
TypeScript 61.5%
CSS 22.5%
JavaScript 14.5%
Dockerfile 1.5%