Bug #52938

Resource stream wrapper doesn't work with foreign package

Added by Lorenz Ulrich almost 2 years ago.

Status:New Start date:2013-10-18
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-
Affected Flow version:Flow 2.0.0

Description

Using the resource stream wrapper (tested from Fluid) always generates links pointing to the origin package.

Example: An inline CSS in the Fluid template of package Acme.Test:

background-image: url(resource://Acme.Demo/Public/Images/pdf.png);

This will generate the following output:

background-image: url(http://mydomain.tld/_Resources/Static/Packages/Acme.Test/Images/pdf.png);

instead of

background-image: url(http://mydomain.tld/_Resources/Static/Packages/Acme.Demo/Images/pdf.png);

Also available in: Atom PDF