There are 6 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-05dd5947-8996-4a75-9940-d82acb4bfed7 XWIKI-22006 Closed

displayTOC macro call from MailTemplate does not render correctly

 
View issue   ·   Add comment
 

6 updates

 
cid:jira-generated-image-avatar-cbd7ed9a-083d-437d-81e8-72ca23dc64ca Changes by Alex Cotiugă on 07/Aug/24 18:03
 
Version: 15.10.10
 
cid:jira-generated-image-avatar-b3648344-c097-4ea1-a1e4-91737bc5c5d6 Changes by Simon Urli on 07/Aug/24 18:04
 
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Simon Urli
Resolution: Duplicate
Status: Open Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-cbd7ed9a-083d-437d-81e8-72ca23dc64ca Alex Cotiugă on 07/Aug/24 18:03
 

I reproduced the same problem in XWiki 15.10.10. It looks like the "$document" variable is  not initialized at this line https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-15.10.11/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/notification/email/macros.vm#L254.
I couldn't identify steps to reproduce, but looks like some server config.