Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-636

User task comments sorting

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 6.2.0
    • 6.2.0
    • jBPM Core
    • None

      Description of problem:
      Retrieving of user task comments (method getCommentsByTaskId(Long taskId) in UserTaskServiceImpl) return list of comments without defined sorting. For lot of databases it isn't an issue as they return comments ordered by id, but for example Oracle database return comments with random ordering.

      It would be nice to have consist ordering of comments for all databases all the time.

      Version-Release number of selected component (if applicable):
      BPMS6.2.0ER4

      How reproducible:
      Simulated on kie server - test testUserTaskComments() in UserTaskServiceIntegrationTest. If kie server is backed by Oracle database then taskClient.getTaskCommentsByTaskId returns comments in random order - tests count with it so they will pass all the time.

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:
      Comments are returned in random order.

      Expected results:
      Comments has consistent order all the time for all databases.

      Additional info:

              swiderski.maciej Maciej Swiderski (Inactive)
              ksuta Karel Suta
              Jakub Schwan Jakub Schwan
              Jakub Schwan Jakub Schwan
              Jakub Schwan, Kris Verlaenen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: