Skip to content

Cached templates fail on path problem #223

@cj-clx

Description

@cj-clx

It appears that resolving path names to files is different for cached templates than for "live" templates. When I cache working pages' templates, which are composed of a variety of partials, some in subdirectories, I get a fatal error. Example error message below:

exception: File date-range-picker.xml not found in paths (., /Users/gits/web/staging/templates)

Note that the file being requested is actually located at this path:

/Users/gits/web/staging/templates/widgets

The requesting template code looks like this:

widget {
    content: template(attr(href));
    content-mode: html;
  <widget href="widget/date-range-picker.xml"
            id="registration"></widget>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions