There are 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-966b5f7c-1204-4355-a81e-95820fbe7654 XWIKI-24060 In Progress

A badly parsed logged TransactionException can break the log displayer (and the script than calls it)

 
View issue   ยท   Add comment
 

2 comments

 
cid:jira-generated-image-avatar-41343f4e-0849-46fa-8640-5572a4623598 Anca Luca on 03/Apr/26 11:53
 

Thomas Mortagne : note that I have made a local patch with null checks in the TransactionException class (for the duplicate XWIKI-24186), which already improves the result on the extension manager . I agree with what you mentioned before, that TransactionException should not be incorrect (we need to find out why it deserializes properly) and the log displayer should not fail completely for this reason only, but a quick fix that prevents this from happening is null checks in the TransactionException. I have the code for it, I can prepare a PR this afternoon (or a push).

 
cid:jira-generated-image-avatar-41343f4e-0849-46fa-8640-5572a4623598 Anca Luca on 03/Apr/26 11:54
 
[~tmortagne] : note that I have made a local patch with null checks in the TransactionException class (for the duplicate XWIKI-24186), which already improves the result on the extension manager . I agree with what you mentioned before, that TransactionException should not be incorrect (we need to find out why it deserializes properly improperly ) and the log displayer should not fail completely for this reason only, but a quick fix that prevents this from happening is null checks in the TransactionException. I have the code for it, I can prepare a PR this afternoon (or a push).