Opened 6 years ago

Last modified 6 years ago

#29288 closed Bug

{% widthratio %} fails to assign to variable if exception happens — at Version 2

Reported by: Jirka Vejrazka Owned by: nobody
Component: Template system Version: dev
Severity: Normal Keywords: templatetag, widthratio
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by Jirka Vejrazka)

When an exception happens inside the widthratio template tag, the result is returned as a string instead of being assigned to a variable even if as variable is used in the template tag.

Change History (2)

comment:2 by Jirka Vejrazka, 6 years ago

Description: modified (diff)
Summary: {% widthratio %} fails to assign to variable on exceptions{% widthratio %} fails to assign to variable if exception happens
Note: See TracTickets for help on using tickets.
Back to Top