Issue 836
Published-date hook has no test
Back to our planOpen
cmstech-debtpriority: lowscope-creep
Summary
The hook that fills in a published date when content is first published has no test of its own.
Details
Found while writing the shared Payload note (#792). The hook reads the incoming request data rather than the stored document, which makes its behavior easy to break unnoticed.
Acceptance criteria
- A test covers first publish, a re-save of already published content, and a draft save.
- The note for shared Payload setup drops the matching Known gap.
Found by the note in #792.
Generated by Claude Code, opens in a new tab