Forum
Perch blocks empty until blog post published
Hi,
A potential bug.
I have some perch blocks set up within a blog post type template. When adding them they were appearing empty (no fields) as if they had no content.
After 30 mins of head banging I discovered once the article was published they appeared fine, but as the blog post begins life as a draft this was very confusing.
Hi Sarah
can we see your template and Diagnostics Report?
Rachel
Template:
Debug
Is Perch and the Blog App up to date? We can't tell what we are dealing with without the Diagnostics Report which makes it harder to help.
All up to date.
Hi Sarah - this is really odd. Your template is working perfectly for me, no blank blocks.
I wonder if it might be a caching issue of some sort. Have you recently updated from an older version?
Hi Drew,
I updated Perch and Blog a week or so ago. I've just tested new browser and same issue.
I'm using post types, just to be clear it's only an issue when I create a new post and it's in draft mode, fine once published. I can work around this for now in development, then see if it happens when I upload it to its staging area.
I've got pretty much the same setup for my own blog and I've never seen this. I often have posts in draft for a couple of days when working on them. So there must be something different somewhere. Would be interesting to see if it happens in staging as that would rule out any environment oddity.