I have a problem with a Stash embedded template being called when it's inside a switch statement (or a conditional, already tried that too) which should evaluate as false.
For example:
{exp:switchee variable="{stash:_nav_active}" parse="inward"}
{case value="home|404"}{/case}
{case default="Yes"}
{stash:embed
name="partials:nav:{segment_1}"
process="start"
}
{/case}
{/exp:switchee}
even when stash:_nav_active
equals 404, the embed is being called and because the segment doesn't exist, I get:
Stash: the file "/stash_templates/partials/nav/made-up-segment.html" was not found.