There is 1 update, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-65c10df8-a9cc-435c-8f35-9236771d74e5 XWIKI-11437 In Progress

Cannot expand the entries from the Activity Stream displayed on the Wikis section of the User Profile

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-63480658-5b78-4ac1-82c9-9b027ae8617d Changes by Manuel Leduc on 20/Nov/26 10:04
 
Fix Version: 18.10.0
 
 

1 comment

 
cid:jira-generated-image-avatar-63480658-5b78-4ac1-82c9-9b027ae8617d Manuel Leduc on 20/Nov/26 10:04
 

Reproduced on 18.9.0 and master. Clicking "show activity" in the "Wikis" section of the user profile displays each event twice:

  • the first copy is rendered by the notifications macro but never initialized, so its details are always expanded and the "..." button does nothing;
  • the second copy is loaded again by WikiManager.UserWikiSheet through the legacy XWikiNotificationsMacro.load(0).

The fix fires xwiki:dom:updated on the injected content, so the notifications macro initializes it like on page load, and drops the second load.

Pull request: https://github.com/xwiki/xwiki-platform/pull/7542 (before/after screenshots there).