# HG changeset patch # User Sylvain Thénault # Date 1278437510 -7200 # Node ID 47216d37bb3d96b7bc609852be0954eff578f314 # Parent 432c657ebfecbfe1f11d2db7d480bc840f682d6f [form] vocab function must now return values as unicode diff -r 432c657ebfec -r 47216d37bb3d web/formfields.py --- a/web/formfields.py Tue Jul 06 17:19:30 2010 +0200 +++ b/web/formfields.py Tue Jul 06 19:31:50 2010 +0200 @@ -1002,7 +1002,7 @@ if entity.eid in done: continue done.add(entity.eid) - res.append((entity.view('combobox'), entity.eid)) + res.append((entity.view('combobox'), unicode(entity.eid))) return res