Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full config import shows no new layouts #640

Closed
sirkitree opened this issue Jan 22, 2015 · 3 comments
Closed

Full config import shows no new layouts #640

sirkitree opened this issue Jan 22, 2015 · 3 comments

Comments

@sirkitree
Copy link

Semi-related to #628

When doing a full config import, none of my new layouts showed up, even after clearing cache. I see json files in the full export file but they're not showing up at admin/structure/layouts. Re-importing the same full export says the system matches.

I then tried importing a single layout which gave me the a successful message, and upon checking admin/structure/layouts found all the missing layouts present.

@sirkitree
Copy link
Author

Interesting. I bet that we don't have Layout module registered to clear its own caches on hook_flush_caches(). Yes, let's please make a new issue for that one, it's probably not directly related to config import/export.
@quicksketch

@quicksketch
Copy link
Member

When doing a full config import, none of my new layouts showed up, even after clearing cache. I see json files in the full export file but they're not showing up at admin/structure/layouts.

In trying to test this I'm getting slightly different results. My layouts show up immediately in admin/structure/layouts, but if I try to visit a path created by a layout, I get a page not found. Rebuilding the menu after the import solves the problem.

I checked that Layout module is flushing it's caches by returning a value in layout_flush_caches(), so my initial guess was off. We might just not being doing an adequate cache flush after a full site import.

@quicksketch
Copy link
Member

This problem seems to no longer exist in the current version of Backdrop. It may have been related to #787, where config imports would bail half-way on the first import between two environments.

Please reopen if this issue is still happening in the latest dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants