Bug #55008

Interceptors should be used in Partials

Added by Christian Müller about 7 years ago. Updated about 7 years ago.

Status:
Under Review
Priority:
Should have
Category:
-
Target version:
-
Start date:
2014-01-15
Due date:
% Done:

0%

Estimated time:
Has patch:
No

Description

Currently Interceptors don't work on Partials because they are not initialized there. Can easily be tested by creating a Template that uses the Resource Interceptor (so using a relative path like ../../Public/Images/Foo.jpg) and then (after checking that the Interceptor converts that into a full resource path) moving that into a partial. There the Interceptor is no longer executed and you get the relative path that is then wrong.

Also available in: Atom PDF