ColbyCommunications / colby-college-theme

Theme for redesigned colby.edu site
MIT License
0 stars 0 forks source link

Office Detail Not Showing in Preview #51

Closed GioAceto closed 1 year ago

GioAceto commented 1 year ago

Preview Screen Shot 2022-12-01 at 11 18 31 AM

Actual Screen Shot 2022-12-01 at 11 18 41 AM

GioAceto commented 1 year ago

Hero images not showing preview either - Edit: Sometimes the detail and header image show in preview, sometimes they don't.

bwaltz commented 1 year ago

It appears that in preview those fields are coming through as NULL. Investigating.

bwaltz commented 1 year ago

@gregoryspragginsjr do you know why this is happening or have you seen this before? The fields for address, phone, etc are coming through as NULL when doing a preview, thus preventing them from displaying.

Screen Shot 2022-12-12 at 1 24 13 PM Screen Shot 2022-12-12 at 1 25 05 PM
gregoryspragginsjr commented 1 year ago

@bwaltz @GioAceto hey fellas, sorry for the late chime in here. I have very little idea why this would be occurring, and due to this particular feature not working locally (if you recall, my local DB does not sync directory data as I think I'd need to be whitelisted somehow), I don't have a point of reference to properly address it.

If you'd like an extra set of eyes here, I'll need assistance with the local setup.

bwaltz commented 1 year ago

@gregoryspragginsjr for your edification, I ended up checking in with the Timber team on this issue. Here's what they said:

https://github.com/timber/timber/issues/2694

I'll keep looking into it.

bwaltz commented 1 year ago

Closing this task in favor of the workaround documented here:

https://support.advancedcustomfields.com/forums/topic/custom-fields-on-post-preview/

This appears to be a known ACF gutenberg issue. We will keep tabs on the discussions and pull in a solution when it becomes available.

Levdbas commented 1 year ago

As reported here this is an ACF issue. Closing it here.