# HG changeset patch # User David Douard # Date 1461156228 -7200 # Node ID 558e5a6d1ec3db117889d6b60e9e09b948c91106 # Parent f24e83a82a4f080b37bc3bc7c0916d4931957f7d [views] do not eat the self._cw.message in LogFormView (closes #12421177) accessing self._cw.message now(?) eat the message, so don't call "self._cw.message" twice. diff -r f24e83a82a4f -r 558e5a6d1ec3 web/views/basetemplates.py --- a/web/views/basetemplates.py Tue Apr 19 13:57:12 2016 +0200 +++ b/web/views/basetemplates.py Wed Apr 20 14:43:48 2016 +0200 @@ -508,8 +508,10 @@ stitle = u' ' w(u'
%s
' % stitle) w(u'
\n') - if showmessage and self._cw.message: - w(u'
%s
\n' % self._cw.message) + # don't call self._cw.message twice since it pops the id + msg = self._cw.message + if showmessage and msg: + w(u'
%s
\n' % msg) config = self._cw.vreg.config if config['auth-mode'] != 'http': self.login_form(id) # Cookie authentication