Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1244

Enabling audit log comment throws the error in configuration tab

    XMLWordPrintable

Details

    • Fix
    • Status: Released (View Workflow)
    • Medium
    • Resolution: Fixed
    • 2.0.0
    • 2.2.3
    • JOC Cockpit GUI
    • None

    Description

      Current Behavior:  
      When we enable force_comments_for_audit_log to true from JOC Settings then on editing any object in Configuration tab which calls the API joc/api/inventory/store it throws the error on every update to the objects as:

      • JocMissingCommentException: missing comment

      How to Reproduce:

      1. Enable force_comments_for_audit_log in the JOC Cockpit settings.
      2. Switch to the configuration tab and edit any property of the job
      3. This will throw an error JocMissingCommentException: missing comment

      Desired Behavior:

      On enabling the force_comments_for_audit_log option in JOC Cockpit settings, no error should be thrown when the joc/api/inventory/store is called in Configuration view.
      But the joc/api/inventory/store is called in Configuration view to automatically add a default comment.

      Attachments

        Activity

          People

            ztsa0019 Sourabh Agrawal
            Kanika-Agrawal Kanika Agrawal
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: