Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
The searchMetadata method of the storage server, when called with an
empty set of conditions, returns all items in the storage (limited by
limit and offset). This is correct behavior for an 'and' search, but
incorrect for 'or': in that case, the result set should be empty.
This is splitting hairs, but I had to say it, sorry. :) One day, a
mathematician-turned-disk jockey will use our program and (s)he will
appreciate it if we do this right.
empty set of conditions, returns all items in the storage (limited by
limit and offset). This is correct behavior for an 'and' search, but
incorrect for 'or': in that case, the result set should be empty.
This is splitting hairs, but I had to say it, sorry. :) One day, a
mathematician-turned-disk jockey will use our program and (s)he will
appreciate it if we do this right.
arguments => no operator is used ;)
Believe me, this is the straight and narrow. :)