Task guid saved incorrectly in audit log

XMLWordPrintable

    • Medium
    • None
    • Guid saved correctly
    • None

      Problem.

      Task GUID stored incorrectly in audit log for task deletion event, {taskGuid} placeholder instead of real task GUID:

       

      {
        "message": "Task (guid: \"{taskGuid}\") deleted",
        "taskGuid": null,
        "data": {
          "taskId": "870",
          "taskGuid": "{0bac67b3-df3b-4011-922d-fa5b9370999b}",
          "taskName": "Quote Q-22831-01",
          "isProject": true
        },
        "domain": "audit.task.remover"
      }
      

      Solution.

      Provide task GUID from $triggerData, not from deleted task object.

            Assignee:
            Sasha
            Reporter:
            Sasha
            None
            Sasha
            Sanya Mikhliaiev
            Stephan Bergmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None