https://bugzilla.novell.com/show_bug.cgi?id=716766
https://bugzilla.novell.com/show_bug.cgi?id=716766#c2
Thomas Göttlicher
Install package "scala".
In SM select in "search for" section: * File list
Now search for: scala-compiler.jar
SM will show that scala package matches the search criteria. Nic, the only problem is, there is no such file in the list. The package scale contains a file called /usr/share/scala/lib/scala-compiler.jar. That's the reason why the search result is correct.
But now there is a kicker! Search for: kde
In SM deselect in "search for" section ALL options!
Now search for: scala-compiler.jar
You will get scala. How on Earth is it possible to match anything, if you turned off all criteria, i.e. no matching is possible at all?
The called zypp functions that lead to this result are: zypp::PoolQuery query; query.addKind(zypp::ResKind::package); query.setCaseSensitive( _caseSensitive->isChecked() ); query.addString( searchtext ); See YQPkgSearchFilterView::filter() in http://svn.opensuse.org/svn/yast/trunk/qt-pkg/src/YQPkgSearchFilterView.cc zypp-maintainers, can you explain why zypp returns results in this case even if query.addAttribute( zypp::sat::SolvAttr::filelist ) is NOT set? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.