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

Fix views preview when pattern declared by ui_pattern_library in the front theme. #334

Open
wants to merge 1 commit into
base: 8.x-1.x
Choose a base branch
from

Conversation

DuaelFr
Copy link

@DuaelFr DuaelFr commented Oct 21, 2021

Without the provider, views cannot find the pattern template so the preview Ajax request throws an error 500.
With the provider, the pattern is used as expected.


Configuration:

  • my pattern is declared in my frontend theme
  • it is used by a content type view mode via ui_patterns_layouts and field_layouts
  • the view list content of this type and display theme using this view mode

@mika2na
Copy link

mika2na commented Oct 11, 2022

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

Successfully merging this pull request may close these issues.

2 participants