#2418: A value of 0 is not output in a CheckBoxList
--------------------------+-------------------------------------------------
Reporter: chrisz | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 1.1.1
Component: TurboGears | Version: 1.1
Severity: major | Resolution: fixed
Keywords: checkboxlist |
--------------------------+-------------------------------------------------
Changes (by chrisz):
* status: new => closed
* resolution: => fixed
Comment:
Turned out that this was a side-effect of my change in r6960 (for #1314).
I had used "... and ... or ..." as a workaround for the missing ternary
operator in Py 2.4 without considering that the second value can be
logically false (in this case, 0). Fixed now together with a regression
test in r6968.
--
Ticket URL: <http://trac.turbogears.org/ticket/2418#comment:2>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en