Red Hat Bugzilla – Bug 760209
Drift Carousel not filtering the drift entries
Last modified: 2012-03-21 15:55:37 EDT
1) Generate some drift snapshots with various types of drift (file
2) Go to the carousel view
3) apply a category filter
Note that the snapshots presented have been filtered to include
only the snapshots with the requested categories of drift. But,
the list of drift instances have not been filtered. For example,
if you are looking for only file removed drift you get only snapshots
with removed files, but the list in those snapshot carousel members
is not limited to only the file-removed drift.
master commit 32e06f0466e3a6a440518c4bd72e21c012bd6afa
I think this broke when initial criteria handling changed in the
underlying Table implementation. The initial criteria was set correctly
but that was no longer applied directly to the grid, instead we now
manually perform the initial fetch. But that led to an overriden method
getting called to return the current criteria, which had yet to be
determined (it was thought to be needed on refresh only). So, the fix was
to immediately set the current criteria to the initial criteria in the
i think i am seeing some incorrect behavior
snapshot #2 has drift of these types: file added, file removed
snapshot #1 has drift of this type: file changed
when i twiddle the filtering ... to show file changed ... it shows that drift
but then when i retoggle the filter for file added and file removed ... that drift doesnt show again ...
even though the snapshot range is 1-4. it looks the snapshot range changes somehow ... to only focus on snapshot #1.
do you mind looking at this again?
When you filter snapshots that don't include the drift you're looking for
go away by design. Only the relevant snapshots remain. Also, for those
remaining snapshots only the relevant drift remains.
Your first filter resulted in snapshot 1 only, so that became the
starting snapshot, which is itself a filter. If it remains at 1
then higher snapshots will not be found, regardless of the other filters.
Is that what happened? If so, what would you have preferred?
yes, what you describe is what happened.
not sure ... i guess i just got confused on expected behavior.
discussed with jay. works as expected.