You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by rj...@apache.org on 2014/01/27 07:18:31 UTC
svn commit: r1561588 - /bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
Author: rjollos
Date: Mon Jan 27 06:18:30 2014
New Revision: 1561588
URL: http://svn.apache.org/r1561588
Log:
0.8dev: //Missing ticket field// warning was being added to the `fake_request`, therefore it would never be displayed. Refs #388.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
Modified: bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1561588&r1=1561587&r2=1561588&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Mon Jan 27 06:18:30 2014
@@ -538,11 +538,11 @@ class QuickCreateTicketDialog(Component)
if (template, data, content_type) != (None,) * 3: # TODO: Check !
if data is None:
data = {}
- req = dummy_request(self.env)
+ dum_req = dummy_request(self.env)
ticket = Ticket(self.env)
- tm._populate(req, ticket, False)
+ tm._populate(dum_req, ticket, False)
all_fields = dict([f['name'], f]
- for f in tm._prepare_fields(req, ticket)
+ for f in tm._prepare_fields(dum_req, ticket)
if f['type'] == 'select')
product_field = all_fields.get('product')