Error when process to change password is cancelled
When the password is changed on the user preferences and the preferences windows is confirmed with the ok button then the use needs to confirm the new password. When this confirmation dialog is cancelled the following error occurs:
File "/home/kpreisler/dev/tryton-client/tryton58/tryton/gui/window/preference.py", line 107, in response self.callback() File "/home/kpreisler/dev/tryton-client/tryton58/tryton/gui/main.py", line 503, in get_preferences RPCContextReload() File "/home/kpreisler/dev/tryton-client/tryton58/tryton/common/common.py", line 1112, in RPCContextReload context = RPCExecute( File "/home/kpreisler/dev/tryton-client/tryton58/tryton/common/common.py", line 1100, in RPCExecute return RPCProgress('execute', args).run(process_exception, callback) File "/home/kpreisler/dev/tryton-client/tryton58/tryton/common/common.py", line 1065, in run return self.process() File "/home/kpreisler/dev/tryton-client/tryton58/tryton/common/common.py", line 1076, in process return process_exception( File "/home/kpreisler/dev/tryton-client/tryton58/tryton/common/common.py", line 903, in process_exception Login() File "/home/kpreisler/dev/tryton-client/tryton58/tryton/common/common.py", line 944, in init raise TrytonError('QueryCanceled')
TrytonError: QueryCanceled
Moreover is the new password stored in the database even when the confirmation dialog has been cancelled and the error has been raised.