# HG changeset patch # User Lennard de Rijk # Date 1233649547 0 # Node ID cbef45d75942778491da04398e816a3b37db81ba # Parent 32a9709e6051edaac6494f9d864e737a43055a27 Fixed a bug where a GMAP error message would be displayed when the form was not valid. The wrong params were used, so the wrong template was used to display the form. This also caused the instruction_text to dissapear. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed diff -r 32a9709e6051 -r cbef45d75942 app/soc/views/models/role.py --- a/app/soc/views/models/role.py Mon Feb 02 22:58:57 2009 +0000 +++ b/app/soc/views/models/role.py Tue Feb 03 08:25:47 2009 +0000 @@ -206,7 +206,7 @@ if not form.is_valid(): # return the invalid form response return self._constructResponse(request, entity=None, context=context, - form=form, params=params) + form=form, params=request_params) # collect the cleaned data from the valid form key_name, form_fields = soc.views.helper.forms.collectCleanedFields(form) @@ -494,7 +494,7 @@ if not form.is_valid(): # return the invalid form response return self._constructResponse(request, entity=None, context=context, - form=form, params=params) + form=form, params=request_params) # get the group entity for which this request is via the scope_path group = self._logic.getGroupEntityFromScopePath(params['group_logic'],