Bug 1048741 - Instance Log in business-central displays logs in random order for the same timestamp
Summary: Instance Log in business-central displays logs in random order for the same t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ER2
: 6.0.1
Assignee: Mauricio Salatino
QA Contact: Marek Baluch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-06 09:41 UTC by Toshiya Kobayashi
Modified: 2018-12-04 16:49 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:01:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
JBoss_BPM_Suite_Business_central.png (91.34 KB, image/png)
2014-01-06 09:42 UTC, Toshiya Kobayashi
no flags Details
Fixed ordering screenshot. (91.64 KB, image/png)
2014-03-05 20:48 UTC, Marek Baluch
no flags Details

Description Toshiya Kobayashi 2014-01-06 09:41:32 UTC
Description of problem:

Logs in "Instance Log" field in "Instance Details" panel are ordered by date. But if those logs (NodeInstanceLog) have the same timestamp, they are displayed in random order. It could be solved by 'ORDER BY log.date DESC, log.id DESC'.

Version-Release number of selected component (if applicable):

6.0.0 ER7

Steps to Reproduce:

1. Create simple bpmn process(StartNode-->ScriptTask-->EndNode)
2. Build and deploy package.
3. Go to "Process Management"-->"Process Definitions" and start process instance
4. Check the "Instance Log" in "Instance Details" panel.

Actual results:

The same timestamp logs are displayed in random order.

Expected results:

The same timestamp logs are ordered by id (DESC).

Comment 1 Toshiya Kobayashi 2014-01-06 09:42:50 UTC
Created attachment 846001 [details]
JBoss_BPM_Suite_Business_central.png

Screenshot of the issue

Comment 2 Toshiya Kobayashi 2014-01-08 12:52:30 UTC
Sent a pull request:

https://github.com/droolsjbpm/jbpm/pull/187

Comment 3 Mauricio Salatino 2014-02-20 09:35:47 UTC
Fixed in 6.0.x : http://github.com/droolsjbpm/jbpm/compare/20883cf...b16a827

Comment 4 Marek Baluch 2014-03-05 20:48:16 UTC
Verified on 6.0.1.ER2.

Comment 5 Marek Baluch 2014-03-05 20:48:41 UTC
Created attachment 871152 [details]
Fixed ordering screenshot.


Note You need to log in before you can comment on or make changes to this bug.