Uploaded image for project: 'Security Advisory Application'
  1. Security Advisory Application
  2. SPAPP-42

Advisories created in the wiki by the importer user are not assigned to their creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.3.1
    • 2.3.0
    • None
    • Unit
    • Unknown
    • N/A

    Description

      Steps to reproduce:

      1. Keep the default configuration of the application (no importer user set).
      2. As XWiki.Admin, create an advisory with "Add new entry" on the application home page and save it.

      Expected: the advisory is assigned to its creator, as stated by the hint of the "Assignee" field ("advisories created in the wiki [are assigned] to their creator").

      Actual: the advisory has no assignee.

      CreatorAssigneeListener considers an advisory created by the importer user as imported, and doesn't assign it. The importer user defaults to XWiki.Admin when it isn't configured, so the advisories created in the wiki by that user, or by any user configured as importer user, are never assigned to their creator.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: