Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Templates with exact contents are merged in bundles #74

Open
@imajus

Description

@imajus

I've faced a problem recently that during the development all templates I had worked fine but on production some of them were missing. The error I get in server logs were like Could not render email before sending: Could not find template: adminCommentsAdded [500] mailer.

To keep story short, the problem was I had few HTML files in /private folder which had exact contents and Meteor removes duplication when building the bundle. The original files still can be fetched using Assets methods but since not all actual files are there, the lookback:emails fails to fetch some of them.

The fast solution is to make changes in files in order to make their contents differ, for example to add <!-- Template XXX ---> comment on the top.

I guess it'll be nice to point that out in lookback:emails documentation.

See the thread here for details https://forums.meteor.com/t/some-private-subfolders-are-missing-in-the-bundle/28711

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