This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 138343 - Wrong sort order
Summary: Wrong sort order
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: _ ahimanikya
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-26 12:03 UTC by Roman Mostyka
Modified: 2008-07-17 04:47 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of wrong sort order. (112.39 KB, image/jpeg)
2008-06-26 12:06 UTC, Roman Mostyka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Mostyka 2008-06-26 12:04:01 UTC
1. Connect to Java DB 'travel'.
2. Rightclick "TRIP" table and choose "View Data".
3. Click header of "TRIPTYPEID" column to sort data.

Result: Value '10' goes first, though type of data is integer.
Comment 1 Roman Mostyka 2008-06-26 12:06:09 UTC
Created attachment 63501 [details]
Screenshot of wrong sort order.
Comment 2 _ ahimanikya 2008-06-26 12:21:30 UTC
OK I can reproduce this, Once the GUI table is populated its taking everything as string value, so the sorting is not as
expected. We will have a fix soon.
Comment 4 Roman Mostyka 2008-07-03 09:47:26 UTC
Verified with build 080701.
Comment 5 _ ahimanikya 2008-07-09 12:28:40 UTC
Regression. This is broken, will fix this soon.
Comment 6 _ ahimanikya 2008-07-09 13:04:47 UTC
Fixed.
http://hg.netbeans.org/dbdataview/rev/752102a50098
Comment 7 Roman Mostyka 2008-07-14 18:28:37 UTC
Verified with build 080714.
Comment 8 Quality Engineering 2008-07-17 04:47:21 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #324 build
Changeset: http://hg.netbeans.org/main/rev/789461c7c4e2
User: rnithya@netbeans.org
Log: Fix for Issue#138343 Wrong sort order