Cédric Krier pushed to branch branch/default at Tryton / Tryton
Commits:
377d8e96 by Cédric Krier at 2023-07-18T18:32:33+02:00
Keep process exception value when recall after session renew
If the original RPC call did not want to process the exception, the recall
should not.
Closes #12411
- - - - -
1 changed file:
- sao/src/rpc.js
Changes:
=====================================
sao/src/rpc.js
=====================================
@@ -121,7 +121,8 @@
//Try to relog
Sao.Session.renew(session).then(function() {
if (async) {
- Sao.rpc(args, session).then(dfd.resolve, dfd.reject);
+ Sao.rpc(args, session, async, process_exception)
+ .then(dfd.resolve, dfd.reject);
} else {
dfd.resolve();
}
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/377d8e966f1a9dcb2b43526b0542bb2854c2138b
--
View it on Heptapod:
https://foss.heptapod.net/tryton/tryton/-/commit/377d8e966f1a9dcb2b43526b0542bb2854c2138b
You're receiving this email because of your account on foss.heptapod.net.