Skip to content

Cached templates fail on path problem #223

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>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions