Exception while invoking TaskListener: Exception while invoking TaskListener: null

https://community.alfresco.com/thread/225041-exception-while-invoking-tasklistener-null

Ok, so the problem is quite easy: in 5.9 (and other versions) the transaction management with spring was actually not consistent. In 5.18 (and earlier), we fixed this. Thus, your call for the callback is executed is executed in the same transaction as the others, which means in the next taskQuery call, the value is NOT yet updated as the transaction is still happening and it hasn't been comitted yet. So the behaviour in 5.18 is actually correct and honoring the correct transaction semantics.

 

https://community.alfresco.com/thread/230928-exception-while-invoking-tasklistener-null

https://community.alfresco.com/thread/224969-error-while-migration-from-activiti-engine-59-to-5180

 

posted @   任国强  阅读(8098)  评论(0编辑  收藏  举报
编辑推荐:
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 一个奇形怪状的面试题:Bean中的CHM要不要加volatile?
· [.NET]调用本地 Deepseek 模型
· 一个费力不讨好的项目,让我损失了近一半的绩效!
阅读排行:
· 在鹅厂做java开发是什么体验
· 百万级群聊的设计实践
· WPF到Web的无缝过渡:英雄联盟客户端的OpenSilver迁移实战
· 永远不要相信用户的输入:从 SQL 注入攻防看输入验证的重要性
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
历史上的今天:
2016-11-08 the confilict between validation and readonly in jquery
2016-11-08 Difference between prop and attr in different version of jquery
2011-11-08 log4net的配置和使用
点击右上角即可分享
微信分享提示