Uploaded image for project: 'Opencast'
  1. MH-12356

As an administrator, I'd like to resolve or delete comments in workflows by comment reason only

    Details

    • Type: Story Card
    • Status: Resolved
    • Resolution: Fixed and reviewed
    • Affects versions: 3.1
    • Fix versions: 4.0
    • Labels:
      None

      Description

      The comment WOH only supports resolving and deleting comments if you specify both reason and description (both of which must match):

      https://docs.opencast.org/r/3.x/admin/workflowoperationhandlers/comment-woh/

      If you specify reason only in the operation, you get this error:

      2017-08-12 12:23:41,859 | WARN | pool-79-thread-11 | (CommentWorkflowOperationHandler:192) - Not resolving comment with 'null' text and 'EVENTS.EVENTS.DETAILS.COMMENTS.REASONS.CUTTING' reason as it doesn't exist.

      which removes the possibility of varying the description text for different purposes.

      It should be possible to use a resolve operation like this:

          <operation
            id="comment"
            description="Resolve the cutting flag">
            <configurations>
              <configuration key="reason">EVENTS.EVENTS.DETAILS.COMMENTS.REASONS.CUTTING</configuration>
              <configuration key="action">resolve</configuration>
            </configurations>
          </operation>
      

        TestRail: Results

          Attachments

            Activity

              People

              • Assignee:
                smarquard Stephen Marquard
                Reporter:
                smarquard Stephen Marquard
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases