There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-29ddd7ca-ad70-4269-8a0d-832f29681ca7 XWIKI-17990 Open

"My Recent Modifications" Panel should be empty after installing XS

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-e68fbfbf-0604-4a86-af84-0b0da3bb6f05 Nikita Petrenko on 25/Aug/25 13:38
 

It can be reproduced on latest clean demo by these steps for 3 cases:

Case 1:

  • User creates XWiki page

Case 2:

  • User installs any XWiki extensions

Case 3:

  • User imports XAR

Result for all cases

A newly created page by install/import/creation will be listed there. This results by query statement 

order by doc.date

in line.

Possible resolution here either to introduce if check, that checks if document is New or not, but I quickly tested, and it returns false for newly created page

$xwiki.getDocument($docName).isNew()

. Replacing statement with

doc.contentUpdateDate

do the job partly, but further in-line modification of any page in my XWiki doesn't list that page in result, only page is listed on top if I change it in wiki editor. Final idea - to create a complex query here, that will check reversion version or revision date with creation date, and if date is different or there're more than one revision that list those XWiki pages.