diff -r c28db242721d -r 00782905b720 web/controller.py --- a/web/controller.py Fri Mar 26 13:33:47 2010 +0100 +++ b/web/controller.py Fri Mar 26 13:45:21 2010 +0100 @@ -136,6 +136,9 @@ params.update(newparams) newparams = params elif self._edited_entity: + # clear caches in case some attribute participating to the rest path + # has been modified + self._edited_entity.clear_all_caches() path = self._edited_entity.rest_path() else: path = 'view'