samskivert/jmustache — Issue #10: defaultValue and compound paths
Author: kali
Created: 2011-10-27 13:04:24+00:00
State: open

Even with a defaultValue(""), the template: {{foo.bar}} will crash raise an exception if there is no "foo" key in the context. It would seem more consistent to return "", given that this is the behaviour of "{{#foo}}{{bar}}{{/foo}}".

We're curious to know if you consider that a bug or not.