Issue Task Resolved

#110639Use ViewFactoryInterface in BackendViewFactory

Wouter Wolters 09/06/26, 08:37 updated 09/08/26, 18:10

Description

BackendViewFactory currently depends directly on
RenderingContextFactory and manually creates a Fluid TemplateView and
FluidViewAdapter.

This bypasses the existing ViewFactoryInterface abstraction and leaves the
backend factory unnecessarily coupled to Fluid implementation details. A TODO
already indicates that the generic view factory should be used.

Change BackendViewFactory to inject ViewFactoryInterface and create the
view using ViewFactoryData. Preserve the existing template, partial and
layout path resolution, including Page TSconfig overrides.

Update affected functional tests to obtain BackendViewFactory through the
dependency injection container.

Reviews 1

History 12

  1. Gerrit Code Review pushed patch set 1 for main to change 95666 status New Under Review 09/06/26, 08:38

  2. Wouter Wolters commented and changed status Under Review Resolved done 0 % 100 % 09/08/26, 18:10

    Applied in changeset commit:c1d5c6eb7bc57b8001de7f5fd4fbdc5503a724d9.