branch | stable |
changeset 5040 | 00782905b720 |
parent 4897 | e402e0b32075 |
child 5421 | 8167de96c523 |
--- 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'