rbeckman-nextgen / test-mc3

0 stars 0 forks source link

Unexpected Channel Filter Results being returned #4010

Closed rbeckman-nextgen closed 4 years ago

rbeckman-nextgen commented 4 years ago

The expectation is that adding any words to the channel filter box in the administrator will show only channels where part of the channel name or a channel tag have a match. I am seeing a list returned that includes entries that do not match as shown in the attached images.

Imported Issue. Original Details: Jira Issue Key: MIRTH-4153 Reporter: seaston Created: 2017-05-08T08:23:51.000-0700

rbeckman-nextgen commented 4 years ago

Searched on 'chemocare' but channel list returned is 19 out of 116 but includes results not linked to 'chemocare'

Imported Comment. Original Details: Author: seaston Created: 2017-05-08T08:29:12.000-0700

rbeckman-nextgen commented 4 years ago

Searched for the word 'dementia' but other results returned that do not appear to be linked.

Imported Comment. Original Details: Author: seaston Created: 2017-05-08T08:31:23.000-0700

rbeckman-nextgen commented 4 years ago

As advised, java cache cleared, application loaded afresh but behaviour is still the same.

Imported Comment. Original Details: Author: seaston Created: 2017-05-08T08:32:02.000-0700

rbeckman-nextgen commented 4 years ago

I've also tried this out, both on OSX and Windows 7, haven't been able to reproduce it yet...

See if any exceptions pop up in the Java client console.

Imported Comment. Original Details: Author: narupley Created: 2017-05-08T08:43:22.000-0700

rbeckman-nextgen commented 4 years ago

Perhaps you could explain how I see the client console? I'm guessing this is not the server log.

Even more strangely even if I search for a specific channel (i.e. pick from the list after typing in the first few characters) I still get more results returned than I expect. I can set up a team viewer session if you are able to look directly?

Imported Comment. Original Details: Author: seaston Created: 2017-05-08T08:55:38.000-0700

rbeckman-nextgen commented 4 years ago

I believe you, just not able to reproduce it for myself yet... For the client console, open the Java control panel and enable it in the Advanced settings. Then re-launch the Administrator.

Imported Comment. Original Details: Author: narupley Created: 2017-05-08T08:57:10.000-0700

rbeckman-nextgen commented 4 years ago

OK. I've done that and searched a few times. Nothing new appears in the console. Even if I search for 'narupley' I get 16 channels returned. There are 116 deployed channels in total. If I move to the channels panel and try the same searches again, it appears that I get the correct results returned. Back to the Dashboard and the same strange set of results is returned.

Imported Comment. Original Details: Author: seaston Created: 2017-05-08T09:09:42.000-0700

rbeckman-nextgen commented 4 years ago

I've tested this again using an Oracle VirtualBox VM running Windows 7 and get the same strange search results.

Imported Comment. Original Details: Author: seaston Created: 2017-05-08T10:09:00.000-0700

rbeckman-nextgen commented 4 years ago

Just tested undeploying 1 random channel. If I search now, I get 15 results returned of 115 (100 filtered)

Undeployed one more, searched again and get 14 of 114 deployed channels returned (again 100 filtered).

Could this be significant?

Imported Comment. Original Details: Author: seaston Created: 2017-05-08T10:22:58.000-0700

rbeckman-nextgen commented 4 years ago

Could I be seeing a problem with the administrator filter because the default fetch size is 100?

Imported Comment. Original Details: Author: seaston Created: 2017-05-09T01:56:10.000-0700

rbeckman-nextgen commented 4 years ago

Was able to reproduce! This is indeed due to the fetch size; channels past the 100 limit aren't always correctly filtered.

Imported Comment. Original Details: Author: narupley Created: 2017-05-23T13:03:02.000-0700

rbeckman-nextgen commented 4 years ago

Revisions 8240/8241: Fixed issue where the dashboard filter would not work correctly when there are over 100 channels. The filter is now passed in on all requests instead of just the first one, and the servlet will correctly filter remaining channels by name.

Imported Comment. Original Details: Author: narupley Created: 2017-06-22T08:55:24.000-0700

rbeckman-nextgen commented 4 years ago

OS(s) and JRE version: virtual Window 7 with JRE version 1.8.0_111-b14 JRE version 1.8.0_91-b14 Version(s)/Build(s) to reproduce failure: mirthconnect-3.5.0.8232.b2153-windows-x64 Version(s)/Build(s) to verify fixes: mirthconnect-3.5.0.8243.b175-windows-x64 How Tested: see Test Procedure Observed Failure:

Verified Fixed:

Imported Comment. Original Details: Author: minht Created: 2017-06-28T14:06:03.000-0700

rbeckman-nextgen commented 4 years ago

done in ROCKSOLID-1110

Imported Comment. Original Details: Author: minht Created: 2017-06-28T14:08:39.000-0700