When count API finds an empty set it returns an error rather then 0

RESOLVED FIXED

Status

RESOLVED FIXED
9 years ago
3 months ago

People

(Reporter: mak, Assigned: gerv)

Tracking

Details

(URL)

(Reporter)

Description

9 years ago
if you replace "count" API with "bug" API, an empty bugs object is returned correctly, but count does not return 0, instead it returns an error.
(Reporter)

Comment 1

9 years ago
sorry bad bug clone :)
Fixed in my local tree. In fact, there was a problem with queries of all dimensions 0, 1, 2 and 3) if the search returned no bugs at all. It now returns the number 0, or an empty data structure of the appropriate nesting.

Look for the fix in 0.5 :-)

Gerv
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED

Updated

3 months ago
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.