-
Notifications
You must be signed in to change notification settings - Fork 18
Description
THIS ISSUE WAS REPRODUCED WITH AN EXPORT OF A WIKI PAGE THAT WAS MIGRATED FROM CONFLUENCE.
Reproduced on XWiki 15.10.7 having the following extensions installed:
- Confluence Migrator Pro 1.12.0
- Task Manager Pro 3.4.0
- Pro Macros 1.16.1
On XWiki 14.10.18, with the same extensions and the same versions, I did not reproduce the error.
Steps to reproduce:
- Have an XWiki version 15.10.7 with the following extensions installed:
- Confluence Migrator Pro 1.12.0
- Task Manager Pro 3.4.0
- Pro Macros 1.16.1
- Have an XWiki page migrated from Confluence that contains the "recently-updated" macro
- Access the page
Expected results:
The server logs don't show any errors.
Actual result:
Each time the page is accessed, the logs show the following error:
2024-03-26 13:44:33,576 [qtp1413246829-114 - http://192.168.150.173:8080/xwiki/bin/view/MathSeminarWiki/] ERROR o.a.v.rendering - Left side ($datetool.difference($mostRecentDate, $date).getMilliseconds()) of comparison operation has null value at xwiki:MathSeminarWiki.WebHome[line 206, column 98]
Link to where the error is pointing to:
xwiki-pro-macros/xwiki-pro-macros-ui/src/main/resources/Confluence/Macros/RecentlyUpdatedService.xml
Line 245 in 2e482d0
| #if ($mostRecentDate == $NULL || $datetool.difference($mostRecentDate, $date).getMilliseconds() > 0) |
