Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-21668

Wrong user set in the event store when guest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 15.10
    • Event Stream
    • None
    • Unknown

    Description

      The way I noticed the problem:

      • The antispam app's event listener updates AntiSpam.Log doc with the last author (ie. guest)
      • The user used in the associated event in the event store is not guest but the current user

      The problem is at: https://github.com/xwiki/xwiki-platform/blob/1a867b130bcd61802f5013fa754972aa1f1fc1ee/xwiki-platform-core/xwiki-platform-eventstream/xwiki-platform-eventstream-api/src/main/java/org/xwiki/eventstream/internal/DefaultEventStore.java#L414-L416

      See also: https://jira.xwiki.org/secure/attachment/42087/42087_Screenshot+2023-12-05+at+10.22.09.png

      Attachments

        Activity

          People

            Unassigned Unassigned
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: