Repository navigation
Fix updated at in seed script & unify page/post experience - #352
Conversation
busbyk
left a comment
There was a problem hiding this comment.
I'm still seeing the publishedAt field not populated on publish: https://www.loom.com/share/c079ad9a85f2485d89f8719c7a2a7564?sid=987033c0-f4f2-4cc2-8a6f-8ff4c54b211b
I noticed this too and chalked it up to a payload bug. Let me dig a big more. @busbyk Update: it looks like autosave is to blame payloadcms/payload#10515 |
Dang. That's disappointing. We might as well close this PR then but I'd like to keep #339 open - or open a new bug to track payloadcms/payload#10515 so we can upgrade once a fix is introduced. |
|
Sounds good to me. |
Description
Published atdate remained set when un-publishing a post. This change unifies un-publishing a post or page and will correctly clear the Published at date by setting it to null. the behavior between pages and posts, providing a consistent experience for publishing and un-publishing content