Chameleon (1.2.10) crashes with "bad" templates

Bug #626355 reported by clach04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chamelon Core
Confirmed
Undecided
Unassigned

Bug Description

From https://bugs.launchpad.net/chameleon/+bug/622337

If an invalid template is used, e.g. tal:attribute BUT the value specification is missing an expression

<img tal:attributes="src "/>

get exception:

IndexError: tuple index out of range

Setting CHAMELEON_DEBUG=true in shell environment has no impact.

See attached test case (test case also has example of paths not working (which I think is a bug too but I'm not 100%)

Revision history for this message
clach04 (clach04) wrote :
Revision history for this message
Malthe Borch (mborch) wrote :

Test committed.

Changed in chameleon.core:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.