Archived
Platform 0.1.5: fail fast on a blank contact recipient
build-and-publish / build (push) Successful in 46s
build-and-publish / build (push) Successful in 46s
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01XXKjx7FNyRVAjU8dgB5KhN
This commit is contained in:
@@ -64,6 +64,8 @@ mvn verify
|
|||||||
| `SITE_BASE_URL` | absolute base for `og:url` |
|
| `SITE_BASE_URL` | absolute base for `og:url` |
|
||||||
| `VITE_ASSET_BASE` / `site.assets.base-url` | photo bucket |
|
| `VITE_ASSET_BASE` / `site.assets.base-url` | photo bucket |
|
||||||
|
|
||||||
`platform.contact.to` unset disables the contact starter, and the app won't start with a
|
A missing `CONTACT_TO` **stops the app from starting**. That is deliberate: `application.yaml` maps it
|
||||||
`ContactController` that has nothing to send with — so a missing `CONTACT_TO` fails loudly rather than
|
to `platform.contact.to`, and an unset variable leaves the property present-but-empty, which is enough
|
||||||
silently dropping enquiries.
|
to activate the contact starter. Without the `@NotBlank` check in `platform-starter-contact` the site
|
||||||
|
would come up, show a working contact form, and mail every enquiry to nobody. Better to fail on deploy
|
||||||
|
than to lose a week of orders.
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>net.thebennett.platform</groupId>
|
<groupId>net.thebennett.platform</groupId>
|
||||||
<artifactId>platform-parent</artifactId>
|
<artifactId>platform-parent</artifactId>
|
||||||
<version>0.1.4</version>
|
<version>0.1.5</version>
|
||||||
<relativePath/>
|
<relativePath/>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.thebennett.platform</groupId>
|
<groupId>net.thebennett.platform</groupId>
|
||||||
<artifactId>platform-bom</artifactId>
|
<artifactId>platform-bom</artifactId>
|
||||||
<version>0.1.4</version>
|
<version>0.1.5</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
<scope>import</scope>
|
<scope>import</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|||||||
Reference in New Issue
Block a user