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 221427

Summary: Matching row doesn't work
Product: db Reporter: medeag
Component: Show DataAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED FIXED    
Severity: normal Keywords: NETFIX
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: proposed patch v1

Description medeag 2012-11-04 11:43:18 UTC
Product Version: NetBeans IDE 7.3 Beta 2 (Build 201211020750)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b12
System: Mac OS X version 10.7.5 running on x86_64; US-ASCII; ka_GE (nb)

In was using JavaDB, i typed something in Matching row field but this didn't work, records in the table were not filtered.
Comment 1 matthias42 2012-11-04 13:25:18 UTC
Created attachment 127081 [details]
proposed patch v1

The problem is in the db.dataview module, modified to fix bug #219011. The cause is in the customizing of the rowsorter. It seems the JXTable does not automaticly delegates setRowFilter to the configured rowsorter.
The attached patch does exactly that - if the configured rowsorter is an instance of a DefaultRowSorter, setting the filter is delegated to the rowsorter.
Comment 2 Jaroslav Havlin 2012-11-05 10:13:49 UTC
Integrated as http://hg.netbeans.org/core-main/rev/e0c601c961ba
Thank you very much for the super-quick fix, Matthias.
Comment 3 Quality Engineering 2012-11-07 03:41:07 UTC
Integrated into 'main-golden', will be available in build *201211070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e0c601c961ba
User: Jaroslav Havlin <jhavlin@netbeans.org>
Log: #221427: Matching row doesn't work