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

Created on 11 October 2022, about 2 years ago
Updated 9 February 2024, 10 months ago

Problem/Motivation

Original GH issue:
Original GH PR: https://github.com/nuvoleweb/ui_patterns/pull/334

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

πŸ› Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡«πŸ‡·France G4MBINI BΓ¨gles

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024