-
Notifications
You must be signed in to change notification settings - Fork 38
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
[UX] Layout visibility conditions: Vocabulary names not updated unless cache cleared. #3242
Comments
…ayouts list and layout edit form. backdrop/backdrop-issues#3242
I have filed a PR that clears entity info caches when loading the layout list in I was unsure if I should be clearing all caches or not. I ended up using |
@klonos - I am looking at old issues and found this old PR. I confirmed the problem using the exact steps to reproduce provided by @klonos and verified that after applying the PR things work as expected. The PR was WAY out of date and there was no sandbox. I recreated the PR using the exact code previously provided by @klonos for easy testing. This is a pretty simple thing to test and a pretty simple PR to review. |
Describe your issue or idea
I have noticed this while testing #3033 and #3241. This problem happens with taxonomy vocabularies, but not with content types...
Steps to reproduce (if reporting a bug)
/node/%
as path./admin/structure/types/manage/page/configure
and/admin/structure/types/manage/post/configure
and change the name of the content types to something else (lets say "Simple page" and "Article"). Save -> you are redirected to/admin/structure/types
where you see the updated content type names names 👍/admin/structure/layouts
-> the label of the content types in the "VISIBILITY CONDITIONS" column is showing the new names "Simple page" and "Article" 👍...
/taxonomy/term/%
as path./admin/structure/taxonomy/tags/configure
and change the name of the "Tag" vocabulary to something else (lets say "Categories"). Save -> you are redirected to/admin/structure/taxonomy
where you see the updated vocabulary name 👍...
Actual behavior (if reporting a bug)
...
/admin/structure/layouts
-> the label of the vocabulary in the "VISIBILITY CONDITIONS" column is still shown as "Tags" 👎Expected behavior (if reporting a bug)
...
/admin/structure/layouts
-> the label of the vocabulary in the "VISIBILITY CONDITIONS" column is shown with the new name that you changed it to in step 9 above, and no clearing of caches is required.PR by @klonos: backdrop/backdrop#2355
The text was updated successfully, but these errors were encountered: