Uploaded image for project: 'SR for Confluence - Development'
  1. SR for Confluence - Development
  2. SRCONF-1569

Scheduled Blog Posts of the Linchpin plugin are not working when the ScriptRunner Audit log is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • 6.5.3
    • 6.20.0
    • Audit Logging
    • None
    • SR4C Sprint 154
    • 0.7

    Description

      Steps to Reproduce

      Provide a detailed step-by-step process to reproduce the problem.

      1. Install the Linchpin Intranet Suite plugin
      2. Create an event listener on a BlogPostCreateEvent
      3. Create a new blog post
        1. Set it to be published on a schedule, as seen in the image below:
        2. Hit Schedule

      Expected Behaviour

      The blog post will be created in the target space at the scheduled time

      Actual Behaviour

      The scheduled blog is not created and the following issue is displayed

      2020-12-22 11:30:10,048 ERROR [Caesium-1-2] [onresolve.scriptrunner.audit.AuditLogService] call Could not write to audit log due to unexpected error.
       -- sr.execution.id: ["7fe15fde-4650-40d1-ad3d-5bbefb7e1500"]
      com.atlassian.confluence.api.service.exceptions.BadRequestException: Could not create audit record: [SimpleMessage{key='Remote Address cannot be null', args=[], translation='null'}]

      Workaround

      Disabling the ScriptRunner Audit log

      Attachments

        Issue Links

          Activity

            People

              twortham Tiffany Wortham
              lwonnacott Lee Wonnacott
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: