djangocms-blog icon indicating copy to clipboard operation
djangocms-blog copied to clipboard

"Change Post" screen is half-empty

Open bbirand opened this issue 6 years ago • 9 comments

We built a blog using djangocms-blog and tested it extensively on our local environment. We've just deployed it to a staging environment and the "Edit Post" screen is somehow empty:

image

There are no failed requests or Javascript errors. We loaded the exact same data via a fixture, so the data should be exact same as well.

As a comparison point, this is what it looks like on our local dev:

image

Any idea why this is happening? We have absolutely no clue where to look.

Thanks

bbirand avatar Jan 05 '18 22:01 bbirand

@bbirand This is an error when rendering the form due to some missing data on the development environment. Does apphook config exists on the testing environment?

yakky avatar Jan 06 '18 12:01 yakky

Thank you, @yakky for the quick reply!

I'm checking the blog page's "Advanced Settings" screen. And I do see the config: image

Is there something I am missing? If this is not the right place to look, please do tell me how I can debug.

Thanks!

bbirand avatar Jan 08 '18 22:01 bbirand

@bbirand it looks correct Does the "add post" form looks the same?

yakky avatar Jan 08 '18 22:01 yakky

could you provide the output of pip freeze?

yakky avatar Jan 08 '18 22:01 yakky

yes, "add post" looks similar: image

I'll try the pip freeze command shortly

bbirand avatar Jan 08 '18 22:01 bbirand

I wonder why the Application instance name is shown in this screenshot https://github.com/nephila/djangocms-blog/issues/408#issuecomment-356114586 It should be hidden: any js error in the browser console when opening the page advanced settings form?

yakky avatar Jan 08 '18 23:01 yakky

@bbirand could you check if #424 fixes your issue?

yakky avatar Jan 24 '18 07:01 yakky

@bbirand The only way I have reproduced is on Django 1.11 which is still not supported. Support coming in #430 (but really only dependencies needed changes)

yakky avatar Feb 21 '18 22:02 yakky

@bbirand can you test aldryn-apphooks-config 0.4.0rc1? That should fix this problem

yakky avatar Mar 12 '18 07:03 yakky

@yakky I think we can safely close this. @bbirand what do you think?

protoroto avatar Aug 04 '23 08:08 protoroto