Menu

Commit [r8661]  Maximize  Restore  History

0.12dev: Return ticket fields with a `NULL` value as a (tagged) empty string instead of `None`. This allows differentiating between empty fields and unset fields in `Ticket.get_value_or_default()`, while avoiding potential issues with code expecting field values to always be strings.

Closes #8326.

rblank 2009-10-10

changed /trunk/trac/ticket/model.py
changed /trunk/trac/ticket/web_ui.py
/trunk/trac/ticket/model.py Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/web_ui.py Diff Switch to side-by-side view
Loading...
MongoDB Logo MongoDB